Muflone 10.0.2
dotnet add package Muflone --version 10.0.2
NuGet\Install-Package Muflone -Version 10.0.2
<PackageReference Include="Muflone" Version="10.0.2" />
<PackageVersion Include="Muflone" Version="10.0.2" />
<PackageReference Include="Muflone" />
paket add Muflone --version 10.0.2
#r "nuget: Muflone, 10.0.2"
#:package Muflone@10.0.2
#addin nuget:?package=Muflone&version=10.0.2
#tool nuget:?package=Muflone&version=10.0.2
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.1)
- Microsoft.Extensions.Logging (>= 10.0.1)
- NewId (>= 4.0.1)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (10)
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.0.2 | 187 | 12/24/2025 |
| 10.0.2-beta | 169 | 12/24/2025 |
| 10.0.1 | 326 | 12/18/2025 |
| 10.0.0 | 284 | 12/18/2025 |
| 8.5.0 | 1,298 | 7/31/2025 |
| 8.5.0-alpha | 191 | 7/17/2025 |
| 8.4.0 | 2,323 | 5/20/2025 |
| 8.3.8-alpha | 213 | 5/16/2025 |
| 8.3.7-alpha | 210 | 5/16/2025 |
| 8.3.6-alpha | 269 | 5/15/2025 |
| 8.3.5-alpha | 266 | 5/14/2025 |
| 8.3.4-alpha | 263 | 5/14/2025 |
| 8.3.3-alpha | 260 | 5/14/2025 |
| 8.3.2-alpha | 260 | 5/14/2025 |
| 8.3.1-alpha | 178 | 5/8/2025 |
| 8.3.0-alpha | 200 | 5/7/2025 |
| 8.1.3 | 2,469 | 10/15/2024 |
| 8.1.2 | 3,004 | 9/9/2024 |
| 8.0.2 | 500 | 5/10/2024 |
| 6.2.0 | 1,272 | 4/19/2023 |
| 6.1.1 | 1,136 | 10/12/2022 |
| 6.1.0 | 2,443 | 8/25/2022 |
| 6.0.5 | 903 | 7/11/2022 |
| 6.0.4 | 1,531 | 5/23/2022 |
| 6.0.3 | 590 | 5/23/2022 |
| 6.0.2 | 1,032 | 5/6/2022 |
| 1.0.1 | 2,203 | 7/21/2020 |
| 1.0.0 | 639 | 7/21/2020 |
| 0.9.4 | 798 | 8/14/2019 |
| 0.9.3 | 1,679 | 8/14/2019 |
| 0.9.2 | 739 | 8/14/2019 |
| 0.9.1 | 1,715 | 6/25/2019 |
| 0.9.0 | 2,265 | 10/28/2018 |
Added missing Logger in Event Handlers