MSL.Plumber.Diagnostics
5.1.0
dotnet add package MSL.Plumber.Diagnostics --version 5.1.0
NuGet\Install-Package MSL.Plumber.Diagnostics -Version 5.1.0
<PackageReference Include="MSL.Plumber.Diagnostics" Version="5.1.0" />
<PackageVersion Include="MSL.Plumber.Diagnostics" Version="5.1.0" />
<PackageReference Include="MSL.Plumber.Diagnostics" />
paket add MSL.Plumber.Diagnostics --version 5.1.0
#r "nuget: MSL.Plumber.Diagnostics, 5.1.0"
#:package MSL.Plumber.Diagnostics@5.1.0
#addin nuget:?package=MSL.Plumber.Diagnostics&version=5.1.0
#tool nuget:?package=MSL.Plumber.Diagnostics&version=5.1.0

Plumber
Another weapon from the MSL Armory
Middleware pipelines for host-free .NET projects. The same shape ASP.NET Core gives web apps — request, response, a chain of steps with DI and configuration — for console apps, AWS Lambdas, Azure Functions, queue consumers, file processors, and anything else that lives outside a host.
The wiki is the full documentation: concepts, a tutorial, per-type reference, and deployment recipes.
Packages
MSL.Plumber.Pipeline— the core builder, handler, middleware, and request context. See Pipeline.MSL.Plumber.Pipeline.Testing—PlumberApplicationFactoryfor exercising a real pipeline in tests. See Testing.MSL.Plumber.Serilog.Extensions— per-request Serilog request logging. See Serilog Extensions.MSL.Plumber.Diagnostics— per-request OpenTelemetry tracing and metrics middleware. See Diagnostics.
Install
dotnet add package MSL.Plumber.Pipeline
Plumber targets .NET 10.
Hello, World
using Plumber;
using var handler = RequestHandlerBuilder
.Create<string, string>()
.Build();
handler.Use((context, next) =>
{
context.Response = $"Hello, {context.Request}!";
return next(context);
});
var greeting = await handler.InvokeAsync("World");
Console.WriteLine(greeting); // Hello, World!
That's the whole shape: a builder, a built handler, one or more middleware, and an InvokeAsync call. Each invocation gets its own DI scope and cancellation token.
Where to go next
- New to middleware pipelines? Start with Concepts, then the Tutorial.
- Know the shape already? Jump into Building a pipeline, Middleware, and Request lifecycle.
- Looking for a specific scenario? Browse the recipes — AWS Lambda, Azure Functions, queue consumers, webhooks, and more — from the wiki home.
- Migrating from v2 or v3? See Migration.
Repository · NuGet — Pipeline · NuGet — Testing · MIT License · Report an issue
| 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.Configuration.Binder (>= 10.0.9)
- Microsoft.Extensions.Configuration.CommandLine (>= 10.0.9)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.9)
- Microsoft.Extensions.Configuration.Json (>= 10.0.9)
- Microsoft.Extensions.Configuration.UserSecrets (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection (>= 10.0.9)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Logging (>= 10.0.9)
- Microsoft.Extensions.Options (>= 10.0.9)
- MSL.Plumber.Pipeline (>= 5.1.0)
- Ulid (>= 1.4.1)
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 |
|---|---|---|
| 5.1.0 | 50 | 6/14/2026 |