Corfedo.Troupe.Testing 0.1.1

Prefix Reserved
There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Corfedo.Troupe.Testing" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Corfedo.Troupe.Testing" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Corfedo.Troupe.Testing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Corfedo.Troupe.Testing --version 0.1.1
                    
#r "nuget: Corfedo.Troupe.Testing, 0.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Corfedo.Troupe.Testing@0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Corfedo.Troupe.Testing&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Corfedo.Troupe.Testing&version=0.1.1
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.4.0 163 11/20/2026
0.3.0 134 11/11/2026
0.2.0 113 11/1/2026
0.1.1 133 11/1/2026