CShells.AspNetCore.Abstractions
0.0.9
See the version list below for details.
dotnet add package CShells.AspNetCore.Abstractions --version 0.0.9
NuGet\Install-Package CShells.AspNetCore.Abstractions -Version 0.0.9
<PackageReference Include="CShells.AspNetCore.Abstractions" Version="0.0.9" />
<PackageVersion Include="CShells.AspNetCore.Abstractions" Version="0.0.9" />
<PackageReference Include="CShells.AspNetCore.Abstractions" />
paket add CShells.AspNetCore.Abstractions --version 0.0.9
#r "nuget: CShells.AspNetCore.Abstractions, 0.0.9"
#:package CShells.AspNetCore.Abstractions@0.0.9
#addin nuget:?package=CShells.AspNetCore.Abstractions&version=0.0.9
#tool nuget:?package=CShells.AspNetCore.Abstractions&version=0.0.9
CShells.AspNetCore.Abstractions
ASP.NET Core abstractions for building web shell features without dependencies on the full CShells framework.
Purpose
This package contains ASP.NET Core-specific interfaces and models for building web features. By referencing only this package in your web feature libraries, you avoid pulling in the entire CShells runtime and its dependencies.
When to Use
- Building ASP.NET Core feature libraries that will be consumed by CShells applications
- Creating reusable web features with HTTP endpoints
- Keeping feature library dependencies minimal while accessing web-specific abstractions
Key Types
IWebShellFeature- Interface for features that can register both services and HTTP endpoints- Web-specific abstractions and models
Installation
dotnet add package CShells.AspNetCore.Abstractions
Example Usage
using CShells.AspNetCore.Features;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
[ShellFeature("Api", DisplayName = "API Feature")]
public class ApiFeature : IWebShellFeature
{
public void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<IApiService, ApiService>();
}
public void MapEndpoints(IEndpointRouteBuilder endpoints, IHostEnvironment? environment)
{
endpoints.MapGet("api/status", () => new { Status = "OK" });
}
}
Learn More
- Main Documentation
- CShells.AspNetCore Package - Full ASP.NET Core integration
| 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.9)
- JetBrains.Annotations (>= 2025.2.4)
-
net8.0
- CShells.Abstractions (>= 0.0.9)
- JetBrains.Annotations (>= 2025.2.4)
-
net9.0
- CShells.Abstractions (>= 0.0.9)
- JetBrains.Annotations (>= 2025.2.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CShells.AspNetCore.Abstractions:
| Package | Downloads |
|---|---|
|
CShells.AspNetCore
ASP.NET Core integration for CShells. Provides middleware and extensions for shell/tenant resolution based on HTTP context, including host-based and route-based strategies for modular multi-tenant applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.