MSL.Plumber.Pipeline.Testing 5.1.0

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

.NET Tests .NET Publish NuGet Nuget

Plumber MSL Armory

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.TestingPlumberApplicationFactory for 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


Repository · NuGet — Pipeline · NuGet — Testing · MIT License · Report an issue

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
5.1.0 52 6/14/2026
5.0.0 54 6/13/2026
4.0.0 51 6/13/2026