ConduitSharp.Gateway.AspNetCore 2.0.0

dotnet add package ConduitSharp.Gateway.AspNetCore --version 2.0.0
                    
NuGet\Install-Package ConduitSharp.Gateway.AspNetCore -Version 2.0.0
                    
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="ConduitSharp.Gateway.AspNetCore" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ConduitSharp.Gateway.AspNetCore" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ConduitSharp.Gateway.AspNetCore" />
                    
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 ConduitSharp.Gateway.AspNetCore --version 2.0.0
                    
#r "nuget: ConduitSharp.Gateway.AspNetCore, 2.0.0"
                    
#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 ConduitSharp.Gateway.AspNetCore@2.0.0
                    
#: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=ConduitSharp.Gateway.AspNetCore&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ConduitSharp.Gateway.AspNetCore&version=2.0.0
                    
Install as a Cake Tool

ConduitSharp.Gateway.AspNetCore

Embed the ConduitSharp API gateway inside your own ASP.NET Core application.

Usage

Add to your ASP.NET Core host:

builder.Services.AddConduitSharpGateway(opts =>
{
    opts.ConfigPath = "conduit-routes.json";
    opts.PluginPath = "./plugins";
});

var app = builder.Build();
app.MapConduitSharpGateway();
app.Run();

Routes are defined in JSON:

{
  "routes": [
    {
      "path": "/api/users",
      "methods": ["GET"],
      "upstream": "http://backend:3000",
      "plugins": ["my-plugin", "auth"]
    }
  ]
}

Forwarding is built on YARP, so HTTP/2, gRPC, WebSockets, and streaming bodies pass through natively via the http-proxy plugin.

Plugin System

Plugins run per-route to inspect, transform, or filter requests/responses. Drop a compiled plugin assembly into your plugins/ folder and reference it in route config — no restart required.

Build plugins with ConduitSharp.Core.

Drop-in Plugin Packages

The NuGet ecosystem provides ready-to-use plugins:

Observability

Structured logging, distributed traces (OpenTelemetry), and Prometheus metrics are built in. Wire them into your observability stack:

builder.Services
    .AddLogging(l => l.AddOpenTelemetry())
    .AddOpenTelemetry()
    .WithTracing(t => t.AddConduitSharpInstrumentation());
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 (3)

Showing the top 3 NuGet packages that depend on ConduitSharp.Gateway.AspNetCore:

Package Downloads
ConduitSharp.RateLimit.RedisProtocol

Distributed rate-limit store (IRateLimitStore) for ConduitSharp over the Redis protocol (RESP) — works with Valkey, Redis 7, and any RESP-compatible server. Shares fixed-window counters across gateway replicas instead of each instance counting independently. Fails open: a backend outage degrades to allowing requests rather than taking down the gateway.

ConduitSharp.Cache.RedisProtocol

Drop-in distributed response cache (ICacheService) for ConduitSharp over the Redis protocol — works with Valkey, Redis 7, and any RESP-compatible server. Shared across gateway instances, with request coalescing and route invalidation. Fails open: a backend outage degrades to no-cache rather than taking down the gateway.

ConduitSharp.Gateway.AspNetCore.Swagger

Aggregated Swagger UI add-on for ConduitSharp.Gateway.AspNetCore — call UseConduitSharpGatewaySwagger() to serve one Swagger UI built from every route's OpenAPI spec.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 150 8/14/2026
1.0.0 142 7/25/2026
1.0.0-rc.1 74 7/18/2026