Muflone 10.1.0
dotnet add package Muflone --version 10.1.0
NuGet\Install-Package Muflone -Version 10.1.0
<PackageReference Include="Muflone" Version="10.1.0" />
<PackageVersion Include="Muflone" Version="10.1.0" />
<PackageReference Include="Muflone" />
paket add Muflone --version 10.1.0
#r "nuget: Muflone, 10.1.0"
#:package Muflone@10.1.0
#addin nuget:?package=Muflone&version=10.1.0
#tool nuget:?package=Muflone&version=10.1.0
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 10.1
We introduced a breaking change in CommandHandler and EventHandler classes to enable OpenTelemetry support. In your existing classes you have to rename the method HandleAsync to HandleInternalAsync We also have upgraded the project to .NET 10 and updated all the dependencies to their latest versions.
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 | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Logging (>= 10.0.2)
- NewId (>= 4.0.1)
- Newtonsoft.Json (>= 13.0.3)
- OpenTelemetry.Api (>= 1.15.0)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Muflone:
| Package | Downloads |
|---|---|
|
Muflone.Transport.RabbitMQ
Package Description |
|
|
Muflone.Eventstore
Eventstore implementation for Muflone |
|
|
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 OpenTelemetry support in CommandHandler, DomainEventHandler, and IntegrationEventHandler