Aroc.Mediator
.NET CQRS mediator library — requests, commands, notifications and behavior pipeline — with no third-party dependency.
Why
CQRS applications often rely on MediatR, which now requires a paid licence for commercial use. Aroc.Mediator offers the same programming model with code that is fully under control.
Features
- Sending requests and commands to a single handler, publishing notifications to several handlers.
- Pipeline of cross-cutting behaviors (logging and performance measurement included).
- Automatic handler registration by assembly scanning.
- Ready-to-use test double for unit tests.
Technical notes
Strongly typed, cached dispatch with no dynamic or per-call reflection, which keeps the library trimming-friendly. Abstractions and implementation ship as two separate NuGet packages, with integration documentation.