CShells.AspNetCore.Abstractions 0.0.9

There is a newer version of this package available.
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
                    
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="CShells.AspNetCore.Abstractions" Version="0.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CShells.AspNetCore.Abstractions" Version="0.0.9" />
                    
Directory.Packages.props
<PackageReference Include="CShells.AspNetCore.Abstractions" />
                    
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 CShells.AspNetCore.Abstractions --version 0.0.9
                    
#r "nuget: CShells.AspNetCore.Abstractions, 0.0.9"
                    
#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 CShells.AspNetCore.Abstractions@0.0.9
                    
#: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=CShells.AspNetCore.Abstractions&version=0.0.9
                    
Install as a Cake Addin
#tool nuget:?package=CShells.AspNetCore.Abstractions&version=0.0.9
                    
Install as a Cake Tool

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

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
0.0.11 169 2/28/2026
0.0.10 135 2/24/2026
0.0.9 312 2/15/2026
0.0.8 133 2/13/2026
0.0.7 150 2/9/2026
0.0.6 149 1/18/2026
0.0.5 298 12/18/2025
0.0.4 172 12/5/2025