Muflone 8.5.0-alpha
See the version list below for details.
dotnet add package Muflone --version 8.5.0-alpha
NuGet\Install-Package Muflone -Version 8.5.0-alpha
<PackageReference Include="Muflone" Version="8.5.0-alpha" />
<PackageVersion Include="Muflone" Version="8.5.0-alpha" />
<PackageReference Include="Muflone" />
paket add Muflone --version 8.5.0-alpha
#r "nuget: Muflone, 8.5.0-alpha"
#:package Muflone@8.5.0-alpha
#addin nuget:?package=Muflone&version=8.5.0-alpha&prerelease
#tool nuget:?package=Muflone&version=8.5.0-alpha&prerelease
Muflone
A CQRS and event store library based on the great work of Jonathan Oliver with CommonDomain as part of NEventStore
Getting started 🚀
Install-Package Muflone
Sample usage
Look at this repo
Update 8.3
Since this version we implemented a system to auto-create the consumers so that it is not necessary to create the consumers in your project anymore. This should reduce complexity and potential errors due to a missing consumer. You can now register directly your command and event handlers and that's it.
Instead of registering the consumers that wrap your handlers
builder.Services.AddMufloneRabbitMQConsumers(new List<IConsumer>
{
new CreateCartConsumer(repository, connectionFactory, loggerFactory),
new CartCreatedConsumer(repository, connectionFactory, loggerFactory),
new ProductCreatedConsumer(repository, connectionFactory, loggerFactory),
}
You can just register them like the following and we will do the rest
builder.Services.AddCommandHandler<CreateCartHandler>();
builder.Services.AddDomainEventHandler<CartCreatedHandler>();
builder.Services.AddIntegrationEventHandler<ProductCreatedHandler>();
In case you have a generic handler that is not a command or event handler, you can still register it like this
builder.Services.AddGenericHandler<MyGenericHandler>();
We still maintain active the other method to register consumers so that you can extend it if you need to.
Give a Star! ⭐
If you like or are using this project please give it a star. Thanks!
| 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. net9.0 was computed. 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. |
-
net8.0
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging (>= 8.0.0)
- NewId (>= 4.0.1)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Muflone:
| Package | Downloads |
|---|---|
|
Muflone.Eventstore
Eventstore implementation for Muflone |
|
|
Muflone.Transport.RabbitMQ
Package Description |
|
|
Muflone.SpecificationTests
Update references |
|
|
Muflone.MassTransit.RabbitMQ
Mass transit service bus for RabbitMQ and wrappers for Muflone's CommandHandlers and EventHandlers |
|
|
Muflone.Saga
Saga base implementation for Muflone |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.1.0 | 105 | 3/1/2026 |
| 10.1.0-rc1 | 128 | 2/12/2026 |
| 10.1.0-beta2 | 91 | 2/9/2026 |
| 10.1.0-beta1 | 101 | 1/25/2026 |
| 10.0.3 | 236 | 2/3/2026 |
| 10.0.2 | 223 | 12/24/2025 |
| 10.0.2-beta | 176 | 12/24/2025 |
| 10.0.1 | 497 | 12/18/2025 |
| 10.0.0 | 346 | 12/18/2025 |
| 8.5.0 | 1,391 | 7/31/2025 |
| 8.5.0-alpha | 195 | 7/17/2025 |
| 8.4.0 | 2,458 | 5/20/2025 |
| 8.3.8-alpha | 217 | 5/16/2025 |
| 8.3.7-alpha | 214 | 5/16/2025 |
| 8.3.6-alpha | 273 | 5/15/2025 |
| 8.3.5-alpha | 270 | 5/14/2025 |
| 8.3.4-alpha | 267 | 5/14/2025 |
| 8.3.3-alpha | 264 | 5/14/2025 |
| 8.3.2-alpha | 265 | 5/14/2025 |
| 8.3.1-alpha | 182 | 5/8/2025 |
Added support to register handlers without consumers