Nexum 1.0.5

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

Nexum

CQRS runtime for .NET 10 — command, query, and notification dispatchers with ValueTask-based pipelines.

What's inside

  • CommandDispatcher — dispatches commands through the behavior pipeline
  • QueryDispatcher — dispatches queries and stream queries
  • NotificationPublisher — publishes domain events with configurable strategies
  • Assembly scanning and manual handler registration
  • Polymorphic handler resolution with thread-safe caching
  • Re-entrant dispatch protection via AsyncLocal<int> depth guard

Works standalone without Source Generators — add Nexum.SourceGenerators for compile-time acceleration.

Installation

dotnet add package Nexum

Usage

var dispatcher = serviceProvider.GetRequiredService<ICommandDispatcher>();
var orderId = await dispatcher.DispatchAsync(new CreateOrder("cust-1", 99.99m));

Documentation

Full documentation: nexum.wizardsoftware.pl

See Commands and Queries and Architecture for detailed usage and runtime internals.

License

MIT

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 (6)

Showing the top 5 NuGet packages that depend on Nexum:

Package Downloads
Nexum.Extensions.DependencyInjection

MSDI integration for Nexum. Provides AddNexum() with compile-time Source Generator acceleration.

Nexum.OpenTelemetry

OpenTelemetry integration for Nexum. Automatic Activity tracing for dispatches.

Nexum.Extensions.AspNetCore

ASP.NET Core integration for Nexum. Minimal API endpoint mapping and result-to-HTTP translation.

Nexum.Streaming

Streaming notifications, SignalR integration, and SSE endpoints for Nexum.

Nexum.Testing

Testing helpers for Nexum CQRS: NexumTestHost, fake dispatchers, assertion extensions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 210 4/9/2026
1.0.3 181 4/6/2026
1.0.2 176 4/4/2026
1.0.1 187 3/28/2026
1.0.0 196 3/15/2026
0.9.2 151 2/28/2026
0.9.1 157 2/27/2026
0.9.0 155 2/15/2026