Member-only story
🧙 Mediator Without MediatR: Build Your Own CQRS Dispatcher in 30 Lines
Tired of adding big libraries for small problems? Worried about what happens when your favorite open-source tool goes commercial? 🤔
Let’s talk CQRS, MediatR, and why-after years of reaching for MediatR by reflex-you might find the best solution is the one you write yourself. Taking back control of your codebase is simpler than you think, and a lightweight, custom approach can be both freeing and easy to maintain.
If you are not a Medium member yet, then you can read this article here — feel free to give it some applause 😉.
Ready to rethink your workflow? Let’s dive in! 🚀
🚨 MediatR Is Going Commercial — Here’s What That Means
MediatR has been a cornerstone in .NET development for over a decade, powering clean architecture and the mediator pattern with ease. But starting soon, it’s taking a new path.
In April 2025, Jimmy Bogard announced that both AutoMapper and MediatR will move to a dual-license commercial model. That means:
- ✅ Free for open source, non-commercial, and educational use
- 💼 Paid license required for production use in…