TurboMediator 0.9.2

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

๐Ÿš€ TurboMediator

A high-performance, enterprise-grade Mediator library for .NET using Source Generators. Zero reflection, Native AOT compatible, and compile-time validated.

CI NuGet Version License

Features

  • โšก Source Generator โ€” Compile-time optimized dispatch. Zero reflection, Native AOT compatible, fully trim-safe
  • ๐Ÿงฉ CQRS โ€” Commands, Queries, Requests, and Notifications with dedicated handler interfaces
  • ๐ŸŒŠ Streaming โ€” Async streaming support for all message types
  • ๐Ÿ” Compile-Time Diagnostics โ€” Build errors for missing handlers, duplicates, and invalid signatures
  • ๐Ÿ”ง Pipeline Behaviors โ€” Interceptors, pre/post processors, exception handlers, and attribute-based bulk registration
  • ๐Ÿ›ก๏ธ Resilience โ€” Retry, circuit breaker, timeout, fallback, and hedging
  • โœ… Result Pattern โ€” Functional error handling with Result<T> and Result<T, TError> types, pattern matching, and railway-oriented programming
  • ๐Ÿข Enterprise โ€” Authorization, multi-tenancy, and deduplication
  • โฐ Scheduling โ€” Cron jobs and recurring job scheduling with cron expressions, interval-based triggers, retry strategies, anti-overlap protection, and EF Core persistence
  • ๐Ÿ“Š Observability โ€” OpenTelemetry tracing, metrics, structured logging, correlation IDs, and health checks
  • ๐Ÿ’พ Caching โ€” Response caching with in-memory and custom provider support
  • โœ… Validation โ€” Built-in lightweight validator with fluent rule builder
  • ๐Ÿ”— FluentValidation โ€” FluentValidation integration for pipeline validation
  • ๐Ÿ’พ Persistence โ€” Transactions, transactional outbox, audit trail, with EF Core support
  • ๐Ÿšฆ Rate Limiting โ€” Per-user/tenant/IP throttling with multiple algorithms and bulkhead isolation
  • ๐Ÿšฉ Feature Flags โ€” Declarative handler toggling with Microsoft.FeatureManagement integration
  • ๐Ÿ”„ Saga Orchestration โ€” Multi-step workflows with automatic compensation on failure
  • โš™๏ธ State Machine โ€” Entity lifecycle management with guards, transitions, entry/exit actions, and mediator integration
  • ๐Ÿ“ฆ Batching โ€” Auto-batching of queries for optimized bulk execution
  • ๐Ÿงช Testing โ€” FakeMediator, RecordingMediator, handler test base classes, and integration test fixtures
  • ๐Ÿ–ฅ๏ธ CLI โ€” Handler coverage analysis, documentation generation, health checks, and benchmarking

Installation

dotnet add package TurboMediator

Optional packages

dotnet add package TurboMediator.Resilience
dotnet add package TurboMediator.Result
dotnet add package TurboMediator.Observability
dotnet add package TurboMediator.Caching
dotnet add package TurboMediator.Caching.Redis
dotnet add package TurboMediator.Validation
dotnet add package TurboMediator.Enterprise
dotnet add package TurboMediator.FluentValidation
dotnet add package TurboMediator.Persistence
dotnet add package TurboMediator.Persistence.EF
dotnet add package TurboMediator.RateLimiting
dotnet add package TurboMediator.FeatureFlags
dotnet add package TurboMediator.FeatureFlags.FeatureManagement
dotnet add package TurboMediator.DistributedLocking
dotnet add package TurboMediator.DistributedLocking.Redis
dotnet add package TurboMediator.Saga
dotnet add package TurboMediator.Saga.EntityFramework
dotnet add package TurboMediator.Scheduling
dotnet add package TurboMediator.Scheduling.EntityFramework
dotnet add package TurboMediator.StateMachine
dotnet add package TurboMediator.StateMachine.EntityFramework
dotnet add package TurboMediator.Batching
dotnet add package TurboMediator.Testing
dotnet add package TurboMediator.Cli

Documentation

Full documentation, guides, and API reference available at www.turbomediator.com.

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

License

MIT License - see LICENSE for details.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.2 0 3/5/2026
0.9.1 34 3/4/2026
0.9.0 37 3/3/2026