Muflone 10.1.0-beta1
See the version list below for details.
dotnet add package Muflone --version 10.1.0-beta1
NuGet\Install-Package Muflone -Version 10.1.0-beta1
<PackageReference Include="Muflone" Version="10.1.0-beta1" />
<PackageVersion Include="Muflone" Version="10.1.0-beta1" />
<PackageReference Include="Muflone" />
paket add Muflone --version 10.1.0-beta1
#r "nuget: Muflone, 10.1.0-beta1"
#:package Muflone@10.1.0-beta1
#addin nuget:?package=Muflone&version=10.1.0-beta1&prerelease
#tool nuget:?package=Muflone&version=10.1.0-beta1&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 | 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)
- 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.Eventstore.gRPC
EventstoreDB gRPC implementation for Muflone |
|
|
Muflone.Saga
Saga base implementation for Muflone |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.2.2 | 268 | 5/25/2026 | |
| 10.2.1 | 152 | 5/24/2026 | |
| 10.2.0 | 171 | 5/16/2026 | |
| 10.1.2 | 105 | 5/24/2026 | |
| 10.1.1 | 303 | 4/27/2026 | |
| 10.1.0 | 744 | 3/1/2026 | |
| 10.1.0-rc1 | 164 | 2/12/2026 | |
| 10.1.0-beta2 | 125 | 2/9/2026 | |
| 10.1.0-beta1 | 137 | 1/25/2026 | |
| 10.0.3 | 401 | 2/3/2026 | |
| 10.0.2 | 268 | 12/24/2025 | |
| 10.0.2-beta | 202 | 12/24/2025 | |
| 10.0.1 | 1,167 | 12/18/2025 | |
| 10.0.0 | 532 | 12/18/2025 | |
| 8.5.0 | 1,443 | 7/31/2025 | |
| 8.5.0-alpha | 216 | 7/17/2025 | |
| 8.4.0 | 2,643 | 5/20/2025 | |
| 8.3.8-alpha | 238 | 5/16/2025 | |
| 8.3.7-alpha | 242 | 5/16/2025 | |
| 8.3.6-alpha | 293 | 5/15/2025 |
Added OpenTelemetry support in CommandHandler, DomainEventHandler, and IntegrationEventHandler