CShells.FastEndpoints.Abstractions
0.0.11
dotnet add package CShells.FastEndpoints.Abstractions --version 0.0.11
NuGet\Install-Package CShells.FastEndpoints.Abstractions -Version 0.0.11
<PackageReference Include="CShells.FastEndpoints.Abstractions" Version="0.0.11" />
<PackageVersion Include="CShells.FastEndpoints.Abstractions" Version="0.0.11" />
<PackageReference Include="CShells.FastEndpoints.Abstractions" />
paket add CShells.FastEndpoints.Abstractions --version 0.0.11
#r "nuget: CShells.FastEndpoints.Abstractions, 0.0.11"
#:package CShells.FastEndpoints.Abstractions@0.0.11
#addin nuget:?package=CShells.FastEndpoints.Abstractions&version=0.0.11
#tool nuget:?package=CShells.FastEndpoints.Abstractions&version=0.0.11
CShells.FastEndpoints.Abstractions
Abstractions for FastEndpoints integration with CShells.
Purpose
This package provides the marker interface IFastEndpointsShellFeature that feature libraries can implement to indicate they contain FastEndpoints. Reference this package in your feature class libraries to avoid depending on the full FastEndpoints framework.
Key Interfaces
IFastEndpointsShellFeature- Marker interface for features containing FastEndpointsIFastEndpointsConfigurator- Interface for customizing FastEndpoints configuration
Installation
dotnet add package CShells.FastEndpoints.Abstractions
Usage
Feature Library
In your feature class library, implement IFastEndpointsShellFeature:
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>();
}
}
Custom Configurator
Implement IFastEndpointsConfigurator to customize FastEndpoints:
using CShells.FastEndpoints.Contracts;
using FastEndpoints;
public class MyConfigurator : IFastEndpointsConfigurator
{
public void Configure(Config config)
{
config.Serializer.Options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
}
}
Project Structure
YourSolution/
├── src/
│ ├── YourApp/ # Main ASP.NET Core application
│ │ └── YourApp.csproj # References: CShells.FastEndpoints
│ └── YourApp.Features/ # Feature definitions library
│ └── YourApp.Features.csproj # References: CShells.FastEndpoints.Abstractions
Related Packages
- CShells.FastEndpoints - Full implementation (reference in main application)
- CShells.AspNetCore.Abstractions - For
IWebShellFeatureinterface
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- CShells.Abstractions (>= 0.0.11)
- FastEndpoints (>= 7.2.0)
- JetBrains.Annotations (>= 2025.2.4)
-
net8.0
- CShells.Abstractions (>= 0.0.11)
- FastEndpoints (>= 7.0.0)
- JetBrains.Annotations (>= 2025.2.4)
-
net9.0
- CShells.Abstractions (>= 0.0.11)
- FastEndpoints (>= 7.0.0)
- JetBrains.Annotations (>= 2025.2.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CShells.FastEndpoints.Abstractions:
| Package | Downloads |
|---|---|
|
CShells.FastEndpoints
FastEndpoints integration for CShells. Provides a shell feature that automatically discovers and registers FastEndpoints from all enabled features. Reference this package in your host application to enable FastEndpoints support. |
GitHub repositories
This package is not used by any popular GitHub repositories.