YARP, or Yet Another Reverse Proxy, is a .NET toolkit designed for building fast proxy servers. It seamlessly integrates with ASP.NET and .NET infrastructure, offering easy customization to suit specific deployment needs. YARP operates within the ASP.NET pipeline, handling incoming requests and utilizing its sub-pipeline for proxying requests to backend servers. Users can extend functionality by adding or replacing modules as required.
YARP uses the concept of Routes to represent request patterns for the proxy and Clusters to represent the services to forward those requests.
Figure: YARP is a reverse proxy that acts as the public endpoint for a site or service and forwards calls to backend servers
Source: Announcing YARP 1.0 Release
Numerous API gateways and reverse proxy implementations, including NGINX and Ocelot, are already available for use. However, YARP distinguishes itself with its unique attributes. YARP seamlessly integrates into the ASP.NET environment, offering effortless customization to meet specific requirements. YARP offers a comprehensive set of features for building and managing reverse proxy solutions, including: