MediatR - Curated .NET Articles & Tutorials
Curated .NET news, articles, and tutorials about Mediatr, drawn from .NET News Daily issues.
57 curated issues
C# .NET — Upgrading a Mediator Pipeline Project with Kiro Spec-First
Upgrading a MediatR project to .NET 10 with Kiro IDE: testing the spec-first workflow to see how it performs and my overall impressions.
Issue also covered: Azure, Clean Architecture, C#, .NET 10, EF Core, FluentValidation, GitHub Copilot, JWT
Read this issue →Build Your Own CQRS Dispatcher in .NET 10 (No MediatR)
MediatR went commercial. Build your own CQRS dispatcher in .NET 10 with pipeline behaviors, AOT support, and a FrozenDictionary core that benchmarks 4x faster than MediatR.
Issue also covered: ASP.NET Core, Clean Architecture, CQRS, C#, .NET 10, EF Core, Performance, Roslyn
Read this issue →Implementing CQRS Pattern and MediatR in .NET
In traditional software architectures, for many years, data reading and writing operations were carried out through the same data models…
Issue also covered: ASP.NET Core, Azure, CQRS, C#, Design Patterns, .NET Core, Performance, Redis
Read this issue →5 New VS Code Features for Smarter Agents
AutoMapper 16.1 and MediatR 14.1 Released
Issue also covered: ASP.NET Core, Dapper, .NET 10, EF Core, Performance, Source Generators, SQL Server, Visual Studio Code
Read this issue →.NET CQRS Architecture Without MediatR: Your Exit Plan Is Simpler Than You Think ⚡
You’ve been paying a framework tax for years. Here’s how to stop — and build something reliable in an afternoon.
Issue also covered: ASP.NET Core, Azure, CQRS, C#, Docker, OpenAI, Performance, Security
Read this issue →Wolverine Idioms for MediatR Users
The Wolverine community fields a lot of questions from people who are moving to Wolverine from their previous MediatR usage. A quite natural response is to try to use Wolverine as a pure drop in repla...
Issue also covered: ASP.NET Core, Cosmos DB, C#, .NET 10, EF Core, .NET MAUI, OpenAI, OpenTelemetry
Read this issue →Practical Experience: Migrating an Old .NET Project with GitHub Copilot Agent
Learn how GitHub Copilot Agent helped migrate a .NET CQRS project to MediatR with async/await support with unit tests
Issue also covered: ASP.NET Core, CQRS, C#, .NET 10, .NET 8, .NET 9, GitHub Copilot, ML.NET
Read this issue →MediatR Implementation: The Industry-Standard Way to Build Serious .NET APIs
Mastering ASP.NET Core Middleware — How Every Request Flows
Issue also covered: AOT, ASP.NET Core, .NET Aspire, Authentication, Authorization, Clean Architecture, Domain-Driven Design, Design Patterns
Read this issue →Solving Logging as a Cross-Cutting Concern with MediatR in .NET 9
A 3-Part Enterprise Guide to Clean, Scalable, Centralized Logging
Issue also covered: ASP.NET Core, CQRS, C#, Domain-Driven Design, Design Patterns, Docker, .NET 10, .NET Core
Read this issue →We Can Finally Publish Notifications in Parallel with MediatR (and Not Regret It)
If you want the full source code, join our community: Here
Issue also covered: ASP.NET Core, .NET Aspire, C#, .NET 10, EF Core, Performance, Redis, Security
Read this issue →AutoMapper 15.1 and MediatR 13.1 Released
Starting a new policy of regular quarterly releases, today I pushed out new versions of AutoMapper and MediatR: * AutoMapper 15.1.0 Release Notes * MediatR 13.1.0 Release Notes The previous versions r...
Issue also covered: Application Insights, ASP.NET Core, C#, Domain-Driven Design, .NET 10, .NET 9, EF Core, gRPC
Read this issue →Solve Logging as a Cross-Cutting Concern with MediatR in .NET 9 (Clean, Composable, Copy-Paste)
Logging shouldn’t leak into every handler like glitter after a craft project. Use MediatR pipeline behaviors to keep logging centralized…
Issue also covered: ASP.NET Core, Azure, Clean Architecture, C#, .NET 10, .NET Core, EF Core, Minimal APIs
Read this issue →How To Implement Validation With MediatR And FluentValidation | Clean Architecture, DDD, .NET
Validation isn’t glamorous — but it’s the guardian of your system’s integrity. It keeps invalid data from creeping into your domain…
Issue also covered: Application Insights, AutoMapper, Azure, Azure Functions, Clean Architecture, Domain-Driven Design, Design Patterns, Docker
Read this issue →7 Practical Steps to Validation with MediatR + FluentValidation (Clean Architecture, .NET 9)
You don’t need a cathedral of abstractions to validate requests. With MediatR and FluentValidation, you get clean, centralized validation…
Issue also covered: AOT, ASP.NET Core, Blazor, Clean Architecture, C#, Design Patterns, Docker, .NET 10
Read this issue →Custom CQRS Without the Mediator: Building a Clean, Extensible Pipeline
The recent announcement about MediatR adopting a commercial license model for larger companies has prompted many teams to re-evaluate its…
Issue also covered: ASP.NET Core, Azure, Azure DevOps, Blazor, Clean Architecture, CQRS, C#, Domain-Driven Design
Read this issue →CQRS Pattern in .NET with MediatR — A Complete Guide
Simplifying commands and queries in .NET using MediatR
Issue also covered: ASP.NET Core, Azure, C#, .NET 10, .NET Core, Performance, Security, System.Text.Json
Read this issue →CQRS ≠ MediatR
Demystifying CQRS and MediatR in .NET! Learn the difference between Command Query Responsibility Segregation and MediatR, with practical examples. Use them right!
Issue also covered: ASP.NET Core, Azure, CQRS, C#, .NET 10, .NET Core, EF Core, GitHub Copilot
Read this issue →From Lost Events to Reliable Systems: Outbox + MassTransit in .NET 9
Imagine this: your service writes a critical order to the database. You breathe a sigh of relief — the transaction committed successfully…
Issue also covered: ASP.NET Core, Azure, Blazor, C#, Dapper, .NET 9, .NET Core, EF Core
Read this issue →Refactoring A Modular Monolith Without MediatR in .NET
MediatR is one of my favourite libraries in .NET, I have been using it for 5+ years in production. Now I am removing it from my projects Continue reading on CodeX »
Issue also covered: AOT, ASP.NET Core, Azure, Clean Architecture, CQRS, C#, Dapper, Domain-Driven Design
Read this issue →CQRS ≠ MediatR
CQRS is an architectural pattern. MediatR is just a library.
Issue also covered: ASP.NET Core, Azure, CQRS, Dapper, .NET 9, EF Core, .NET MAUI, Source Generators
Read this issue →Applying the Mediator Pattern in ASP.NET Core with MediatR
https://medium.com/@adrianbailador/applying-the-mediator-pattern-in-asp-net-core-with-mediatr-5209906de05d
Issue also covered: ASP.NET Core, Azure, Blazor, C#, .NET 10, EF Core, .NET MAUI, OAuth
Read this issue →FlashEvents: A Free, Simple Alternative to MediatR Notification Publisher
https://medium.com/@Anton-Grebenkin/flashevents-a-free-simple-alternative-to-mediatr-notification-publisher-457056d31e8f
Issue also covered: ASP.NET Core, Authentication, Authorization, Azure, Clean Architecture, C#, Dapper, Design Patterns
Read this issue →AutoMapper and MediatR Roadmaps
https://www.jimmybogard.com/automapper-and-mediatr-roadmaps/
Issue also covered: ASP.NET Core, .NET Aspire, Authentication, AutoMapper, Blazor, Clean Architecture, C#, .NET 10
Read this issue →Modern MediatR Library in .NET Core 9.0
https://www.c-sharpcorner.com/article/modern-mediatr-library-in-net-core-9-0/
Issue also covered: ASP.NET Core, Authentication, Azure, Clean Architecture, C#, EF Core, Minimal APIs, OpenTelemetry
Read this issue →AutoMapper and MediatR Commercial Editions Launch Today
https://www.jimmybogard.com/automapper-and-mediatr-commercial-editions-launch-today/
Issue also covered: ASP.NET Core, Authentication, AutoMapper, Azure, C#, .NET Core, EF Core, .NET MAUI
Read this issue →CQRS with MediatR in .NET — A Simple and Secure Project Example from Scratch
https://medium.com/@venkataramanaguptha/cqrs-with-mediatr-in-net-a-simple-and-secure-project-example-from-scratch-81f77e5aba22
Issue also covered: ASP.NET Core, Authentication, Azure, Blazor, CQRS, C#, Dapper, Design Patterns
Read this issue →Mediator Without MediatR: Build Your Own CQRS Dispatcher in 30 Lines
https://medium.com/@metoz.florian/mediator-without-mediatr-build-your-own-cqrs-dispatcher-in-30-lines-a43edd474faa
Issue also covered: ASP.NET Core, Azure, Clean Architecture, C#, Event Sourcing, Performance, REST API, Security
Read this issue →Breaking Free: .NET’s Hidden Gem vs MediatR — A Step-by-Step Guide ✨
https://medium.com/@metoz.florian/breaking-free-nets-hidden-gem-vs-mediatr-a-step-by-step-guide-583c5d09baf2
Issue also covered: ASP.NET Core, Azure, Azure DevOps, Azure Functions, Cosmos DB, C#, Dapper, Design Patterns
Read this issue →We Broke Up with MediatR — and Found in .NET’s Hidden Gem
https://medium.com/@metoz.florian/we-broke-up-with-mediatr-and-found-in-nets-hidden-gem-a62e3bc64ffb
Issue also covered: ASP.NET Core, Azure, C#, Dapper, Design Patterns, Docker, EF Core, .NET MAUI
Read this issue →The Easiest Way to Replace MediatR!
https://medium.com/@paveluzunov/the-easiest-way-to-replace-mediatr-cb6a0fa07ded?source=rss------csharp-5
Issue also covered: Azure, Blazor, C#, Design Patterns, .NET 10, .NET 9, .NET Core, .NET Framework
Read this issue →AutoMapper and MediatR Licensing Update
https://www.jimmybogard.com/automapper-and-mediatr-licensing-update/
Issue also covered: ASP.NET Core, Authentication, Authorization, AutoMapper, Azure, .NET 9, Event Sourcing, .NET MAUI
Read this issue →MediatR Alternative — Wolverine
https://thecodeman.net/posts/mediatr-alternative-wolverine
Issue also covered: ASP.NET Core, C#, Design Patterns, .NET 10, OpenAI, Performance, Security
Read this issue →Build your own Mediator
https://amrelsher07.medium.com/build-your-own-mediator-f25bac97a0ab
Issue also covered: .NET Aspire, Azure, Azure Functions, Blazor, C#, .NET 9, EF Core, GitHub Copilot
Read this issue →AutoMapper and MediatR Going Commercial
https://www.jimmybogard.com/automapper-and-mediatr-going-commercial/
Issue also covered: ASP.NET Core, AutoMapper, Azure, Blazor, C#, .NET Core, EF Core, GitHub Copilot
Read this issue →Understanding CQRS in .NET: A Practical Guide
https://medium.com/@mo.shaaban.dev/understanding-cqrs-in-net-a-practical-guide-26e21bdc7a2a
Issue also covered: ASP.NET Core, Azure DevOps, Benchmarking, Blazor, CQRS, C#, .NET 9, GitHub
Read this issue →Dynamic Database Web API in .NET 9: Clean Architecture & MediatR for Flexibility
https://www.csharp.com/article/dynamic-database-web-api-in-net-9-clean-architecture-mediatr-for-flexibility/
Issue also covered: ASP.NET Core, Azure, Clean Architecture, C#, .NET Core, Event Sourcing, Minimal APIs, ML.NET
Read this issue →Mastering ASP.NET Core with Minimal APIs & CQRS -Part 05: CQRS & Mediator — Class Structure
https://sasangaedirisinghe.medium.com/mastering-asp-net-core-with-minimal-apis-cqrs-part-05-cqrs-mediator-class-structure-381f4929bad3
Issue also covered: ASP.NET Core, Azure, Azure Functions, CQRS, C#, .NET 9, .NET Core, EF Core
Read this issue →C# .NET — Global Exception Handler with MediatR
https://medium.com/@gabrieletronchin/c-net-global-exception-handler-with-mediatr-3ca9aeb3d812
Issue also covered: ASP.NET Core, .NET Aspire, Azure, C#, .NET 9, .NET Core, EF Core, .NET MAUI
Read this issue →CQRS and Mediator Pattern in a .NET 8 Web API
https://www.csharp.com/article/cqrs-and-mediator-pattern-in-a-net-8-web-api/
Issue also covered: ASP.NET Core, CQRS, C#, .NET Core, .NET Framework, EF Core, ML.NET, Performance
Read this issue →