![]() |
VOOZH | about |
dotnet add package CShells.FastEndpoints --version 0.0.28
NuGet\Install-Package CShells.FastEndpoints -Version 0.0.28
<PackageReference Include="CShells.FastEndpoints" Version="0.0.28" />
<PackageVersion Include="CShells.FastEndpoints" Version="0.0.28" />Directory.Packages.props
<PackageReference Include="CShells.FastEndpoints" />Project file
paket add CShells.FastEndpoints --version 0.0.28
#r "nuget: CShells.FastEndpoints, 0.0.28"
#:package CShells.FastEndpoints@0.0.28
#addin nuget:?package=CShells.FastEndpoints&version=0.0.28Install as a Cake Addin
#tool nuget:?package=CShells.FastEndpoints&version=0.0.28Install as a Cake Tool
FastEndpoints integration for CShells providing automatic endpoint discovery and registration for shell features.
This package integrates FastEndpoints with CShells, allowing you to build high-performance APIs with per-shell endpoint isolation and configuration.
IFastEndpointsShellFeatureEndpointRoutePrefix per shell for FastEndpoints-specific prefixingIFastEndpointsConfigurator for custom FastEndpoints configurationdotnet add package CShells.FastEndpoints
using CShells.FastEndpoints.Features;
using CShells.Features;
using Microsoft.Extensions.DependencyInjection;
[ShellFeature("MyApi", DependsOn = ["FastEndpoints"])]
public class MyApiFeature : IFastEndpointsShellFeature
{
public void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<IMyService, MyService>();
}
}
using FastEndpoints;
public class GetWeatherEndpoint : EndpointWithoutRequest<WeatherResponse>
{
public override void Configure()
{
Get("weather");
AllowAnonymous();
}
public override async Task HandleAsync(CancellationToken ct)
{
await SendAsync(new WeatherResponse { Temperature = 72 });
}
}
{
"CShells": {
"Shells": {
"Default": {
"Features": { "Core": {}, "FastEndpoints": {}, "MyApi": {} },
"Configuration": {
"WebRouting": {
"Path": "",
"RoutePrefix": "api/v1"
},
"FastEndpoints": {
"EndpointRoutePrefix": "fe"
}
}
}
}
}
}
With this configuration, the weather endpoint is accessible at /api/v1/fe/weather.
CShells.FastEndpoints supports two levels of route prefixing:
| Configuration Key | Scope | Description |
|---|---|---|
WebRouting:RoutePrefix |
All endpoints | Applied to all shell endpoints (minimal APIs, controllers, FastEndpoints) |
FastEndpoints:EndpointRoutePrefix |
FastEndpoints only | Applied specifically to FastEndpoints via config.Endpoints.RoutePrefix |
Implement IFastEndpointsConfigurator to customize FastEndpoints configuration:
public class MyConfigurator : IFastEndpointsConfigurator
{
public void Configure(Config config)
{
config.Serializer.Options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
}
}
Register in your feature:
public void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<IFastEndpointsConfigurator, MyConfigurator>();
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
Showing the top 1 popular GitHub repositories that depend on CShells.FastEndpoints:
| Repository | Stars |
|---|---|
|
elsa-workflows/elsa-core
The Workflow Engine for .NET
|
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.28 | 125 | 6/12/2026 |
| 0.0.27 | 96 | 6/12/2026 |
| 0.0.26 | 93 | 6/12/2026 |
| 0.0.25 | 94 | 6/11/2026 |
| 0.0.24 | 216 | 5/15/2026 |
| 0.0.23 | 99 | 5/15/2026 |
| 0.0.22 | 93 | 5/14/2026 |
| 0.0.21 | 89 | 5/12/2026 |
| 0.0.20 | 109 | 5/8/2026 |
| 0.0.19 | 91 | 5/6/2026 |
| 0.0.18 | 103 | 5/2/2026 |
| 0.0.17 | 108 | 4/29/2026 |
| 0.0.16 | 109 | 4/27/2026 |
| 0.0.15 | 102 | 4/27/2026 |
| 0.0.14 | 391 | 4/20/2026 |
| 0.0.13 | 109 | 4/17/2026 |
| 0.0.12 | 118 | 3/16/2026 |
| 0.0.11 | 136 | 2/28/2026 |
| 0.0.10 | 126 | 2/24/2026 |
| 0.0.9 | 116 | 2/15/2026 |