NServiceBusContrib.WarmUp 1.0.0

dotnet add package NServiceBusContrib.WarmUp --version 1.0.0
                    
NuGet\Install-Package NServiceBusContrib.WarmUp -Version 1.0.0
                    
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="NServiceBusContrib.WarmUp" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NServiceBusContrib.WarmUp" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="NServiceBusContrib.WarmUp" />
                    
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 NServiceBusContrib.WarmUp --version 1.0.0
                    
#r "nuget: NServiceBusContrib.WarmUp, 1.0.0"
                    
#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 NServiceBusContrib.WarmUp@1.0.0
                    
#: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=NServiceBusContrib.WarmUp&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=NServiceBusContrib.WarmUp&version=1.0.0
                    
Install as a Cake Tool

NServiceBusContrib.WarmUp

Blocks NServiceBus message processing until user-defined warm-up actions have completed. Warm-up runs as a FeatureStartupTask, so the message pump only opens once your actions finish, priming caches, connection pools, and JIT paths before the first real message arrives.

var endpointConfiguration = new EndpointConfiguration("Sales");

endpointConfiguration.WarmUp(warmup =>
{
    warmup.Run(async cancellationToken => await Cache.PrimeAsync(cancellationToken));
    warmup.Run<PrimeConnectionPoolTask>();   // resolved from DI, runs in order
});

Tasks are configured on the endpoint, so there is no endpoint-name string to pass. warmup.Run<T>() resolves the task (and its dependencies) from the endpoint's service provider.

Works in single- and multi-endpoint hosts (including hosts that disable assembly scanning). Pairs with NServiceBusContrib.HealthCheck to expose endpoint readiness over a /health endpoint.

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 (1)

Showing the top 1 NuGet packages that depend on NServiceBusContrib.WarmUp:

Package Downloads
NServiceBusContrib.HealthCheck

Readiness and liveness health checks for NServiceBus: aggregates every endpoint in the process, with heartbeat-based liveness, suitable for container /health probes.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 148 7/11/2026
1.0.0-alpha.4 105 7/3/2026
1.0.0-alpha.3 76 7/3/2026
1.0.0-alpha.2 74 7/3/2026
1.0.0-alpha.1 83 7/3/2026