Datapoint.Mediator.Abstractions 4.0.0-beta.8

This is a prerelease version of Datapoint.Mediator.Abstractions.
dotnet add package Datapoint.Mediator.Abstractions --version 4.0.0-beta.8
                    
NuGet\Install-Package Datapoint.Mediator.Abstractions -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.Abstractions" 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.Abstractions" Version="4.0.0-beta.8" />
                    
Directory.Packages.props
<PackageReference Include="Datapoint.Mediator.Abstractions" />
                    
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.Abstractions --version 4.0.0-beta.8
                    
#r "nuget: Datapoint.Mediator.Abstractions, 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.Abstractions@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.Abstractions&version=4.0.0-beta.8&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Datapoint.Mediator.Abstractions&version=4.0.0-beta.8&prerelease
                    
Install as a Cake Tool

Datapoint.Mediator.Abstractions

The contracts for Datapoint.Mediator: commands, queries, stream queries and messages, their handlers, behaviours, IMediator, and named actions. Reference it from your business layer: it has no dependencies, so that layer stays independent of any host.

[Api]
[Action("invoices.create", "Creates an invoice for a customer.")]
public sealed record CreateInvoice(string Customer, decimal Amount) : ICommand<Guid>;

public sealed class CreateInvoiceHandler : ICommandHandler<CreateInvoice, Guid>
{
    public ValueTask<Guid> HandleAsync(CreateInvoice command, CancellationToken cancellationToken = default) =>
        new(Guid.CreateVersion7());
}

Documentation: Concepts · Actions · 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.
  • net10.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Datapoint.Mediator.Abstractions:

Package Downloads
Datapoint.Mediator

A fast Mediator pattern implementation for commands, queries and messages, with behaviour pipelines.

Datapoint.Mediator.FluentValidation

A Datapoint.Mediator behaviour that validates commands and queries with FluentValidation before their handler runs.

Datapoint.Mediator.Authorization

A Datapoint.Mediator behaviour that authorizes commands and queries for the current user, denying access by default, so the same rules apply from an API, a CLI or an MCP server.

Datapoint.Mediator.AspNetCore

Maps Datapoint.Mediator actions as ASP.NET Core endpoints, with OpenAPI metadata and ProblemDetails errors, so an API offers the same commands and queries as a CLI or an MCP server.

Datapoint.Mediator.ModelContextProtocol

Offers Datapoint.Mediator actions as Model Context Protocol (MCP) tools, so AI agents can call your commands and queries with authorization, validation and transactions applied.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0-beta.8 89 11/8/2026
4.0.0-beta.7 108 11/4/2026
4.0.0-beta.6 247 11/3/2026
4.0.0-beta.5 121 11/3/2026
4.0.0-beta.4 112 11/3/2026
4.0.0-beta.3 202 11/2/2026
4.0.0-beta.2 129 11/1/2026
4.0.0-beta.1 105 11/1/2026
4.0.0-alpha.1 81 10/31/2026