CShells.AspNetCore.Abstractions 0.0.28

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

Showing the top 20 packages that depend on CShells.AspNetCore.Abstractions.

Packages Downloads
Elsa.Api.Common
Provides common features to modules that expose API endpoints.
1

.NET 10.0

.NET 8.0

.NET 9.0

Version Downloads Last updated
0.0.28 1 06/20/2026
0.0.27 0 06/12/2026
0.0.26 0 06/12/2026
0.0.25 0 06/11/2026
0.0.24 1 06/20/2026
0.0.23 0 05/15/2026
0.0.22 0 05/14/2026
0.0.21 0 05/12/2026
0.0.20 0 05/08/2026
0.0.19 0 05/06/2026
0.0.18 0 05/02/2026
0.0.17 0 04/29/2026
0.0.16 0 04/27/2026
0.0.15 0 04/27/2026
0.0.14 0 04/20/2026
0.0.13 0 04/17/2026
0.0.12 0 03/16/2026
0.0.11 0 02/28/2026
0.0.10 0 02/24/2026
0.0.9 0 02/15/2026
0.0.8 1 05/29/2026
0.0.7 0 02/09/2026
0.0.6 0 01/18/2026
0.0.5 1 06/20/2026
0.0.4 0 12/05/2025