NPv.Messaging.Infrastructure
0.1.1
dotnet add package NPv.Messaging.Infrastructure --version 0.1.1
NuGet\Install-Package NPv.Messaging.Infrastructure -Version 0.1.1
<PackageReference Include="NPv.Messaging.Infrastructure" Version="0.1.1" />
<PackageVersion Include="NPv.Messaging.Infrastructure" Version="0.1.1" />
<PackageReference Include="NPv.Messaging.Infrastructure" />
paket add NPv.Messaging.Infrastructure --version 0.1.1
#r "nuget: NPv.Messaging.Infrastructure, 0.1.1"
#:package NPv.Messaging.Infrastructure@0.1.1
#addin nuget:?package=NPv.Messaging.Infrastructure&version=0.1.1
#tool nuget:?package=NPv.Messaging.Infrastructure&version=0.1.1
NPv.Messaging.Infrastructure
In-process implementations for NPv.Messaging.Abstractions.
The package provides:
- event-handler discovery and registration;
- event dispatch through a host-provided executor;
- an in-memory event queue and consumer;
- a scoped in-memory outbox;
- dependency-injection registration with
AddMessagingInfrastructure.
Status
This package is at an early stage (0.x). Its public API and runtime behavior may
change between minor versions.
The included queue and outbox are process-local and non-persistent. They are appropriate for modular monoliths, development, and simple deployments, but they do not provide broker delivery or a transactional persistent outbox.
Installation
dotnet add package NPv.Messaging.Infrastructure
The host must register implementations of IEventHandlerExecutor and
IEventHandlingErrorReporter, then register the assemblies containing event
handlers:
services.AddMessagingInfrastructure([typeof(Program).Assembly]);
Author's Note
This library grew out of my long-standing personal interest in structuring and publishing open source packages. Over time, I’ve revisited and refined earlier internal utilities and ideas, giving them a more consistent shape and preparing them for wider reuse. Along the way, I’ve also taken the opportunity to explore how open source distribution and licensing work in the .NET ecosystem.
It’s a small step toward something I’ve always wanted to try — sharing practical, minimal tools that reflect years of learning, experimentation, and refinement.
Hopefully, someone finds it useful.
Nikolai 😛
⚖️ License
MIT — you are free to use this in commercial and open-source software.
| 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
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- NPv.Messaging.Abstractions (>= 2.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.