Fusonic.Extensions.MediatR
8.1.3
Prefix Reserved
Fusonic.Extensions.Mediator replaces the MediatR package and contains its own Mediator implementation
dotnet add package Fusonic.Extensions.MediatR --version 8.1.3
NuGet\Install-Package Fusonic.Extensions.MediatR -Version 8.1.3
<PackageReference Include="Fusonic.Extensions.MediatR" Version="8.1.3" />
paket add Fusonic.Extensions.MediatR --version 8.1.3
#r "nuget: Fusonic.Extensions.MediatR, 8.1.3"
// Install Fusonic.Extensions.MediatR as a Cake Addin #addin nuget:?package=Fusonic.Extensions.MediatR&version=8.1.3 // Install Fusonic.Extensions.MediatR as a Cake Tool #tool nuget:?package=Fusonic.Extensions.MediatR&version=8.1.3
MediatR
This project contains some abstractions for MediatR.
ICommand
, IQuery
: Use those instead of directly using the IRequest
interfaces to clearly distinguish between commands and queries.
OutOfBandAttribute
: You can put this on your Handler
-class. When used together with the Hangfire-Decorator, the execution of the handler will be queued as a background job automatically.
MediatR transaction handling
There are decorators to run all MediatR-requests and notifications within a transaction.
To enable this feature use the following SimpleInjector-Configuration:
Container.RegisterDecorator(typeof(IRequestHandler<,>), typeof(TransactionalRequestHandlerDecorator<,>));
Container.RegisterDecorator(typeof(INotificationHandler<>), typeof(TransactionNotificationHandlerDecorator<>));
Container.RegisterSingleton<ITransactionScopeHandler, TransactionScopeHandler>();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Fusonic.Extensions.Common (>= 8.1.3)
- MediatR (>= 11.1.0 && < 12.0.0)
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 |
---|