PouryaKit.ReverseProxy 0.1.0-preview.2

This is a prerelease version of PouryaKit.ReverseProxy.
dotnet add package PouryaKit.ReverseProxy --version 0.1.0-preview.2
                    
NuGet\Install-Package PouryaKit.ReverseProxy -Version 0.1.0-preview.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PouryaKit.ReverseProxy" Version="0.1.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PouryaKit.ReverseProxy" Version="0.1.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="PouryaKit.ReverseProxy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PouryaKit.ReverseProxy --version 0.1.0-preview.2
                    
#r "nuget: PouryaKit.ReverseProxy, 0.1.0-preview.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PouryaKit.ReverseProxy@0.1.0-preview.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PouryaKit.ReverseProxy&version=0.1.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=PouryaKit.ReverseProxy&version=0.1.0-preview.2&prerelease
                    
Install as a Cake Tool

PouryaKit.ReverseProxy

NuGet .NET 10 License: MIT

PouryaKit.ReverseProxy

A Reverse proxy on YARP: an application of its own that sits in front of the system's Hosts. It forwards each request by the routes and clusters of its configuration to a Host that service discovery resolves, probes each Host's liveness path and takes a dead endpoint out of its cluster, and keeps the client's trace. It runs no Operation and references no Kit package.

Install

dotnet add package PouryaKit.ReverseProxy --prerelease

When to use it

  • Several Hosts should answer clients on one address.
  • A Module split out as a service keeps its paths, routed to its own Host.
  • You want one trace from the client through the proxy to the Operation.

It sits in front of the Hosts of PouryaKit.Web, each of which authenticates its own clients, and an AppHost with PouryaKit.Aspire runs it locally.

Quick start

Compose the proxy as its own application, as the templates generate it. AddServiceDefaults() and MapDefaultEndpoints() are your solution's own service defaults, which no package ships: the templates generate them, and the Host recipes say what they hold:

var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults();
builder.AddPouryaKitReverseProxy();

var app = builder.Build();
app.MapDefaultEndpoints();
app.MapReverseProxy();
await app.RunAsync();

What you get

  • Routes and clusters from configuration, which change with it at run time.
  • Destinations resolved by service discovery.
  • A liveness probe that takes a dead endpoint out of its cluster.
  • One trace from the client through the proxy to the Operation.

Liveness only, and no gRPC: the proxy probes no readiness path, since readiness outside Development is the platform's probe, and as shipped it carries no gRPC, so a Host's gRPC client calls the other Host directly.

The proxy authenticates no one: each Host it fronts authenticates its own clients.

Learn more

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.2 72 11/1/2026
0.1.0-preview.1 73 10/31/2026
0.1.0-preview.0.28 71 10/26/2026