.NET Core

YARP- .Net Core Reverse Proxy

It is a reverse proxy toolkit for developing secure proxy servers in .NET.

Sukhpinder Singh | C# .Net
.Net Programming
Published in
3 min readSep 26, 2020

--

Image by Mudassar Iqbal from Pixabay

YARP stands for “YARP: A Reverse Proxy” is a project to create a reverse proxy server.

YARP fills into the ASP.NET pipeline for managing incoming requests and then has its sub-pipeline for implementing the steps to proxy the requests to backend servers.

For the specific need of different deployment scenarios, YARP can be easily customized and tweaked.

Getting started with YARP

YARP library provides the core proxy functionality that you can then customize by adding or replacing modules.

For a current preview, the NuGet manager supplies the YARP package. Later on, Microsoft has planned to introduce it as a project template accessible via the dotnet command line.

YARP is currently compatible with either .NET Core 3.1 or .NET 5 preview 4 (or latest).

Download the preview 4 (or latest) of .NET 5 SDK: Link

Create a .Net Core Project

Create a “Blank” ASP.NET Core application using the below command or create a new ASP.NET Core web application via Visual Studio, and choose…

--

--

Sukhpinder Singh | C# .Net
.Net Programming

.Net Developer - Editor at .Net Programming with ~48K views per month, Looking for C# writers. Link: https://medium.com/c-sharp-programming