High-performance, source-generator powered mediator and messaging framework for .NET. Eliminates runtime reflection, minimizes boilerplate, and provides an extensible pipeline model.
Handlers, pipelines, and notifications are wired at compile time via source generators.
Attach cross-cutting concerns like logging, caching, and auditing with minimal ceremony.
Split handlers across projects with a root aggregator model for large solutions.
dotnet add package Space.Abstraction
dotnet add package Space.DependencyInjection
services.AddSpace(opt =>
{
opt.NotificationDispatchType = NotificationDispatchType.Parallel;
});
var response = await space.Send<UserLoginResponse>(new UserLoginRequest("demo"));
Core abstractions and source generator analyzer.
DI extensions and runtime ISpace implementation.
Optional in-memory caching module with attribute integration.