Datapoint.Mediator.Abstractions
4.0.0-beta.8
dotnet add package Datapoint.Mediator.Abstractions --version 4.0.0-beta.8
NuGet\Install-Package Datapoint.Mediator.Abstractions -Version 4.0.0-beta.8
<PackageReference Include="Datapoint.Mediator.Abstractions" Version="4.0.0-beta.8" />
<PackageVersion Include="Datapoint.Mediator.Abstractions" Version="4.0.0-beta.8" />
<PackageReference Include="Datapoint.Mediator.Abstractions" />
paket add Datapoint.Mediator.Abstractions --version 4.0.0-beta.8
#r "nuget: Datapoint.Mediator.Abstractions, 4.0.0-beta.8"
#:package Datapoint.Mediator.Abstractions@4.0.0-beta.8
#addin nuget:?package=Datapoint.Mediator.Abstractions&version=4.0.0-beta.8&prerelease
#tool nuget:?package=Datapoint.Mediator.Abstractions&version=4.0.0-beta.8&prerelease
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());
}
| 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
- 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 |