FreeMediator 1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package FreeMediator --version 1.0.0
NuGet\Install-Package FreeMediator -Version 1.0.0
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="FreeMediator" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FreeMediator" Version="1.0.0" />
<PackageReference Include="FreeMediator" />
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 FreeMediator --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FreeMediator, 1.0.0"
#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.
#addin nuget:?package=FreeMediator&version=1.0.0
#tool nuget:?package=FreeMediator&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FreeMediator
FreeMediator is a free and open-source alternative to the popular MediatR package by Jimmy Bogard.
- It strives to be a drop-in replacement for MediatR, with the same API and functionality, and is created purely on the background of MediatR going commercial.
- It is not a fork of MediatR, but rather a new implementation that aims to be as compatible as possible with the original. Let me know in the Issues section if you find any incompatibilities.
As such the first version only deals with the basic stuff:
- Sending requests and receiving responses
- Pipeline behavior support for requests (both open and closed behaviors)
- Publishing notifications
- Generic request handlers of same arity as IRequestHandler<,>
- Generic notification handlers of same arity as INotificationHandler<>
Feel free to send a PR if you want to add any missing features, (make sure to read CONTRIBUTING.md first).
OR just open an Issue for missing features, and I'll have a look.
Current limitations
- No support for streaming
- No support for implementing multiple handlers in a single class if they have the same return type ( IRequestHandler<TRequest> is not affected by this limitation though)
Documentation
Auto generated documentation via DocFx is available here: https://steffenskov.github.io/FreeMediator/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.