TheAppManager 3.0.0
dotnet add package TheAppManager --version 3.0.0
NuGet\Install-Package TheAppManager -Version 3.0.0
<PackageReference Include="TheAppManager" Version="3.0.0" />
<PackageVersion Include="TheAppManager" Version="3.0.0" />
<PackageReference Include="TheAppManager" />
paket add TheAppManager --version 3.0.0
#r "nuget: TheAppManager, 3.0.0"
#:package TheAppManager@3.0.0
#addin nuget:?package=TheAppManager&version=3.0.0
#tool nuget:?package=TheAppManager&version=3.0.0
<img src="https://raw.githubusercontent.com/Atypical-Consulting/TheAppManager/dev/logo.png" alt="TheAppManager" width="96" />
TheAppManager
Compose Program.cs from ordered, testable modules — extensions on the builder you already have, not a
replacement for it. A module groups the services, middleware and endpoints of one feature. AddModules,
UseModules and MapModules apply them to any ASP.NET Core, worker or console host, phase by phase, in
registration order. Trimming and Native AOT compatible (except the opt-in assembly scanning).
public sealed class WeatherModule : IWebModule
{
public void ConfigureServices(IHostApplicationBuilder builder)
=> builder.Services.AddSingleton<WeatherService>();
public void ConfigureEndpoints(IEndpointRouteBuilder endpoints)
=> endpoints.MapGet("/weatherforecast", (WeatherService weather) => weather.Get());
}
var builder = WebApplication.CreateBuilder(args);
builder.AddModules(m => m.Add<WeatherModule>());
var app = builder.Build();
app.UseModules();
app.MapModules();
app.Run();
Test compositions with the TheAppManager.Testing package.
| 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
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TheAppManager:
| Package | Downloads |
|---|---|
|
TheAppManager.Testing
Test helpers for TheAppManager: a production-faithful, TestServer-backed AppModuleTestHost and WebApplicationFactory module replacement. |
GitHub repositories
This package is not used by any popular GitHub repositories.