NServiceBusContrib.WarmUp
1.0.0
dotnet add package NServiceBusContrib.WarmUp --version 1.0.0
NuGet\Install-Package NServiceBusContrib.WarmUp -Version 1.0.0
<PackageReference Include="NServiceBusContrib.WarmUp" Version="1.0.0" />
<PackageVersion Include="NServiceBusContrib.WarmUp" Version="1.0.0" />
<PackageReference Include="NServiceBusContrib.WarmUp" />
paket add NServiceBusContrib.WarmUp --version 1.0.0
#r "nuget: NServiceBusContrib.WarmUp, 1.0.0"
#:package NServiceBusContrib.WarmUp@1.0.0
#addin nuget:?package=NServiceBusContrib.WarmUp&version=1.0.0
#tool nuget:?package=NServiceBusContrib.WarmUp&version=1.0.0
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 | 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
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- NServiceBus (>= 10.2.6)
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 |