Incursa.Platform.Modularity.AspNetCore
6.0.5
Prefix Reserved
dotnet add package Incursa.Platform.Modularity.AspNetCore --version 6.0.5
NuGet\Install-Package Incursa.Platform.Modularity.AspNetCore -Version 6.0.5
<PackageReference Include="Incursa.Platform.Modularity.AspNetCore" Version="6.0.5" />
<PackageVersion Include="Incursa.Platform.Modularity.AspNetCore" Version="6.0.5" />
<PackageReference Include="Incursa.Platform.Modularity.AspNetCore" />
paket add Incursa.Platform.Modularity.AspNetCore --version 6.0.5
#r "nuget: Incursa.Platform.Modularity.AspNetCore, 6.0.5"
#:package Incursa.Platform.Modularity.AspNetCore@6.0.5
#addin nuget:?package=Incursa.Platform.Modularity.AspNetCore&version=6.0.5
#tool nuget:?package=Incursa.Platform.Modularity.AspNetCore&version=6.0.5
Incursa.Platform.Modularity.AspNetCore
Minimal API endpoint helpers for engine-first modules.
Install
dotnet add package Incursa.Platform.Modularity.AspNetCore
Usage
ModuleRegistry.RegisterModule<MyModule>();
builder.Services.AddModuleServices(builder.Configuration);
builder.Services.AddSingleton<UiEngineAdapter>();
builder.Services.AddIncursaWebhooks();
builder.Services.AddModuleWebhookProviders();
app.MapUiEngineEndpoints();
app.MapWebhookEngineEndpoints();
MapUiEngineEndpoints requires UI manifests to declare Inputs and Outputs.
MapWebhookEngineEndpoints uses the Incursa.Platform.Webhooks ingestion pipeline and requires webhook metadata.
If engines declare required services, register IRequiredServiceValidator in DI.
Examples
Custom routes
app.MapUiEngineEndpoints(options =>
{
options.RoutePattern = "/modules/{moduleKey}/ui/{engineId}";
options.InputSchemaName = "command";
options.OutputSchemaName = "viewModel";
});
app.MapWebhookEngineEndpoints(options =>
{
options.RoutePattern = "/hooks/{provider}/{eventType}";
});
Register authenticators only when you want them enforced; multiple authenticators can be added and all must succeed.
Webhook ingestion uses the default pipeline responses (202 for accepted and 401/403 for rejected).
Documentation
- https://github.com/incursa/platform
- docs/modularity-quickstart.md
- docs/engine-overview.md
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- Incursa.Platform.Modularity (>= 6.0.5)
- Incursa.Platform.Webhooks.AspNetCore (>= 6.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.