Datapoint.Mediator 4.0.0-beta.8

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

Datapoint.Mediator

A fast Mediator pattern implementation for commands, queries, stream queries and messages, with behaviour pipelines and OpenTelemetry tracing and metrics. Most apps register it with Datapoint.Mediator.DependencyInjection.

var id = await mediator.SendAsync(new CreateInvoice("Ana", 100m), cancellationToken);
var invoice = await mediator.QueryAsync(new GetInvoice(id), cancellationToken);
await mediator.PublishAsync(new InvoiceCreated(id), cancellationToken);

await foreach (var item in mediator.StreamAsync(new ListInvoices(), cancellationToken)) { }

Dispatch adds no allocations when no behaviours are registered.

Documentation: Concepts · Telemetry · Manual

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 Datapoint.Mediator:

Package Downloads
Datapoint.Mediator.DependencyInjection

Registers Datapoint.Mediator, its handlers and behaviours with Microsoft.Extensions.DependencyInjection, by hand or by assembly scanning.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0-beta.8 90 11/8/2026
4.0.0-beta.7 77 11/4/2026
4.0.0-beta.6 205 11/3/2026
4.0.0-beta.5 77 11/3/2026
4.0.0-beta.4 75 11/3/2026
4.0.0-beta.3 163 11/2/2026
4.0.0-beta.2 98 11/1/2026
4.0.0-beta.1 77 11/1/2026
4.0.0-alpha.1 73 10/31/2026