Corfedo.Troupe.Testing
0.1.1
Prefix Reserved
See the version list below for details.
dotnet add package Corfedo.Troupe.Testing --version 0.1.1
NuGet\Install-Package Corfedo.Troupe.Testing -Version 0.1.1
<PackageReference Include="Corfedo.Troupe.Testing" Version="0.1.1" />
<PackageVersion Include="Corfedo.Troupe.Testing" Version="0.1.1" />
<PackageReference Include="Corfedo.Troupe.Testing" />
paket add Corfedo.Troupe.Testing --version 0.1.1
#r "nuget: Corfedo.Troupe.Testing, 0.1.1"
#:package Corfedo.Troupe.Testing@0.1.1
#addin nuget:?package=Corfedo.Troupe.Testing&version=0.1.1
#tool nuget:?package=Corfedo.Troupe.Testing&version=0.1.1
Corfedo Troupe
A host composition framework for .NET. In a large application, Program.cs grows into hundreds of
registrations nobody owns, and a missing configuration section or a conflicting registration shows up only when a
request hits it. Troupe builds the host from components that declare what they register, what they require, which
configuration they read and what they contribute to other builders. It records the owner of every registration, so a
misconfigured host fails at startup with a diagnostic code that names the owners involved. Roles and profiles select
the components of each process, so one executable runs combined or split across processes from the same
declarations.
dotnet add package Corfedo.Troupe
dotnet add package Corfedo.Troupe.AspNetCore # middleware stages, endpoints and Kestrel endpoints
dotnet add package Corfedo.Troupe.Testing # profile verification and test overrides
A role requires a component, and the component owns its configuration section:
[Role("worker")]
public sealed class WorkerRole : IRole
{
public void Compose(IRoleBuilder role)
{
role.Requires<WorkerSettings>();
role.Services(services => services.AddHostedService<Heartbeat>());
}
}
public sealed class WorkerSettings : IComponent
{
public void Compose(IComponentBuilder component) => component.Options<HeartbeatOptions, HeartbeatValidator>("Worker");
}
The packages depend on each other's exact version, so update them together. See the full documentation for the quick start, concepts and examples.
Troupe is licensed under Apache-2.0. Corfedo names, logos and brand assets are reserved; see the NOTICE file.
| 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
- Corfedo.Troupe (= 0.1.1)
- Corfedo.Troupe.AspNetCore (= 0.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.