TCIS.Pluggable.Engine.AspNetCore
1.0.0-rc.15
dotnet add package TCIS.Pluggable.Engine.AspNetCore --version 1.0.0-rc.15
NuGet\Install-Package TCIS.Pluggable.Engine.AspNetCore -Version 1.0.0-rc.15
<PackageReference Include="TCIS.Pluggable.Engine.AspNetCore" Version="1.0.0-rc.15" />
<PackageVersion Include="TCIS.Pluggable.Engine.AspNetCore" Version="1.0.0-rc.15" />
<PackageReference Include="TCIS.Pluggable.Engine.AspNetCore" />
paket add TCIS.Pluggable.Engine.AspNetCore --version 1.0.0-rc.15
#r "nuget: TCIS.Pluggable.Engine.AspNetCore, 1.0.0-rc.15"
#:package TCIS.Pluggable.Engine.AspNetCore@1.0.0-rc.15
#addin nuget:?package=TCIS.Pluggable.Engine.AspNetCore&version=1.0.0-rc.15&prerelease
#tool nuget:?package=TCIS.Pluggable.Engine.AspNetCore&version=1.0.0-rc.15&prerelease
TCIS.Pluggable.Engine.AspNetCore
Overview
The TCIS.Pluggable.Engine.AspNetCore package provides ASP.NET Core specific extensions for the Pluggable Micro-kernel Engine. It decouples the core TCIS.Pluggable.Engine from the ASP.NET Core framework, ensuring that non-web applications (like Worker Services, Hangfire processors, or Console Apps) can utilize the Pipeline Engine without dragging in web dependencies.
Key Interfaces and Classes
1. IPluggableEndpointModule
Extends the base ISiteModule interface specifically for Plugins that need to expose HTTP APIs (Minimal APIs, gRPC, or SignalR Hubs).
MapEndpoints(IEndpointRouteBuilder endpoints): Method to dynamically register endpoints for the module into the Host's routing system.
2. EndpointExtensions
Provides the MapPluggableEndpoints() extension method for IEndpointRouteBuilder.
- Scans all loaded modules in the
IModuleRegistry. - If a module implements
IPluggableEndpointModule, it automatically invokesMapEndpoints()during application startup.
Setup and Registration
In your ASP.NET Core Web Host (Program.cs):
using TCIS.Pluggable.Engine.Modules; // Using the shared namespace
var app = builder.Build();
// Auto-map endpoints for all loaded web plugins
app.MapPluggableEndpoints();
app.Run();
Architectural Benefits
- Separation of Concerns: Keeps the core engine library pure from HTTP routing concerns.
- Dynamic Routing: Allows Cảng-specific plugins to inject their own APIs (e.g., custom Customs Webhooks) seamlessly without modifying the core routing tables.
| 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 was computed. 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 was computed. 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. |
-
net8.0
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- TCIS.Pluggable.Abstractions (>= 1.0.0-rc.15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-rc.15 | 0 | 8/12/2026 |
| 1.0.0-rc.14 | 0 | 8/12/2026 |
| 1.0.0-rc.13 | 36 | 8/11/2026 |
| 1.0.0-rc.12 | 45 | 8/10/2026 |