Nabs.Launchpad.Core.Gateway
10.0.273
Prefix Reserved
dotnet add package Nabs.Launchpad.Core.Gateway --version 10.0.273
NuGet\Install-Package Nabs.Launchpad.Core.Gateway -Version 10.0.273
<PackageReference Include="Nabs.Launchpad.Core.Gateway" Version="10.0.273" />
<PackageVersion Include="Nabs.Launchpad.Core.Gateway" Version="10.0.273" />
<PackageReference Include="Nabs.Launchpad.Core.Gateway" />
paket add Nabs.Launchpad.Core.Gateway --version 10.0.273
#r "nuget: Nabs.Launchpad.Core.Gateway, 10.0.273"
#:package Nabs.Launchpad.Core.Gateway@10.0.273
#addin nuget:?package=Nabs.Launchpad.Core.Gateway&version=10.0.273
#tool nuget:?package=Nabs.Launchpad.Core.Gateway&version=10.0.273
Nabs.Launchpad.Core.Gateway
Nabs.Launchpad.Core.Gateway provides a production-ready YARP gateway setup with authentication, authorization transforms, and service discovery defaults.
Installation
dotnet add package Nabs.Launchpad.Core.Gateway
The Problem
// 1) Reverse-proxy setup duplicated between services
builder.Services.AddReverseProxy();
// 2) Missing outbound auth headers to downstream APIs
request.Headers.Add("Authorization", token); // repeated manually
// 3) Gateway options validated too late
Features
- Gateway bootstrap extensions (
AddGateway,UseGateway) - Option validation through
GatewayOptionsValidator - YARP transforms for custom headers and auth propagation
- Service defaults integration for observability/health endpoints
Usage
builder.AddGateway();
var app = builder.Build();
app.UseGateway();
Configure Gateway and AzureAd settings via host configuration (for Aspire, typically from AppHost environment wiring).
Configuration
Provide ReverseProxy route/cluster settings in configuration and configure GatewayOptions during startup.
AppHost-driven local authentication (floci)
Use Nabs.Launchpad.Core.Gateway.Auth.GatewayAuthConfiguration as the shared contract for auth-related configuration keys and local floci defaults. In AppHost, set:
AzureAd:*values for Gateway OIDCGateway:AuthorizationIssuerOptions:*values for issued downstream JWTsAuth:*values for SecurePortal JWT validationGateway:Authentication:UseDevelopmentAuth=truefor local harness runs when interactive OIDC authorize is unavailable
Use the same signing key for Gateway:AuthorizationIssuerOptions:Key and Auth:Key so gateway-issued tokens are accepted by SecurePortal.
Project Structure
ProjectExtensions.cs- startup extension methodsAuth/*- authentication and token-issuing helpersYarp/*- request transform extensions and options
License
Copyright (c) Net Advantage Business Solutions.
| Product | Versions 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. |
-
net10.0
- CommunityToolkit.Mvvm (>= 8.4.2)
- FluentValidation (>= 12.1.1)
- Microsoft.Extensions.ServiceDiscovery.Yarp (>= 10.9.0)
- Microsoft.Identity.Web (>= 4.14.2)
- Nabs.Launchpad.Core.ServiceDefaults (>= 10.0.273)
- Yarp.ReverseProxy (>= 2.3.0)
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 |
|---|---|---|
| 10.0.273 | 57 | 9/6/2026 |
| 10.0.272 | 44 | 9/5/2026 |
| 10.0.270 | 52 | 9/5/2026 |
| 10.0.269 | 61 | 9/5/2026 |
| 10.0.255 | 125 | 7/26/2026 |
| 10.0.250 | 299 | 6/23/2026 |
| 10.0.249 | 120 | 6/6/2026 |
| 10.0.248 | 107 | 6/6/2026 |
| 10.0.247 | 112 | 6/6/2026 |
| 10.0.246 | 116 | 6/6/2026 |
| 10.0.242 | 106 | 6/4/2026 |
| 10.0.241 | 111 | 6/4/2026 |
| 10.0.240 | 105 | 6/4/2026 |
| 10.0.239 | 110 | 6/3/2026 |
| 10.0.234 | 119 | 5/31/2026 |
| 10.0.233 | 117 | 5/31/2026 |
| 10.0.232 | 114 | 5/30/2026 |
| 10.0.230 | 113 | 5/30/2026 |
| 10.0.229 | 109 | 5/30/2026 |
| 10.0.228 | 107 | 5/30/2026 |