general
MediatR for C# and .NET Articles, Tutorials & News
MediatR for C# and .NET articles, tutorials, and news from the DotNetNews archive.
82 articles Updated
MediatR for C# and .NET work shows up across many DotNetNews issues because teams keep hitting the same implementation questions. MediatR for C# and .NET is a recurring focus for C# and .NET developers working in the Microsoft ecosystem.
Recurring subtopics in recent issues include MediatR C#, MediatR .NET, mediator pattern C#, and MediatR pipelines. When a subtopic never appears in the archive titles or excerpts, it is left out of this introduction.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for MediatR for C# and .NET; the archive list is chronological and larger. Secondary angles such as MediatR C# and MediatR .NET appear when the archive actually covered them. Cross-links to CQRS in .NET and Clean Architecture in .NET help when the problem spans more than one tag.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
Start here
Editor picks for MediatR
-
Vertical Slice Architecture in C# (.NET 8): A Complete Guide with Production-Ready Examples
Medium Issue #493
If you like feature-first organization, this is a good production-minded vertical slice walkthrough with familiar CQRS and MediatR tradeoffs.
-
Validation with MediatR Pipeline Behavior and FluentValidation in .NET 10
codewithmukesh Issue #471
MediatR pipeline validation with FluentValidation, centralized command validation in .NET 10 applications.
-
Moving Beyond MediatR: Implementing Cross-Cutting Concerns with Native .NET Dependency Injection
Medium Issue #462
This should resonate with teams reconsidering MediatR and looking for lighter-weight cross-cutting approaches in native DI.
-
Wolverine Idioms for MediatR Users
jeremydmiller.com Issue #382
Useful guidance for MediatR users evaluating Wolverine without treating it like a drop-in clone.
-
MediatR Implementation: The Industry-Standard Way to Build Serious .NET APIs
Medium Issue #356
A solid refresher on why MediatR and middleware still matter in real APIs.
-
CQRS Pattern in .NET with MediatR — A Complete Guide
Medium Issue #287
A CQRS and MediatR guide that covers the command/query split in practical .NET terms.
-
Refactoring A Modular Monolith Without MediatR in .NET
Dev Tips Issue #265
MediatR removal is interesting because it forces a conversation about complexity, boundaries, and whether the abstraction still earns its keep.
-
Modern MediatR Library in .NET Core 9.0
C# Corner Issue #242
MediatR in .NET 9 is a good fit for folks comparing request pipelines and handler-based composition.
Archive
Page 1 of 4
Newest first
-
Building Real-Time App in .NET with REPR
C# Corner Issue #570
Building Real-Time App in .NET with REPR WebSockets.Otp is inspired by REPR (Request-Endpoint-Response) principles and trying to bring the same elegance from Minimal APIs, FastEndpoints, or MediatR to...
-
Automating Validation in Clean Architecture: FluentValidation with MediatR Pipeline Behaviors
C# Corner - Sardar Mudassar Ali Khan Issue #563
-
Mastering CQRS and MediatR in Clean Architecture for ASP.NET Core
C# Corner - Sardar Mudassar Ali Khan Issue #562
-
Building Enterprise-Grade APIs: The Ultimate End-to-End Guide to Clean Architecture, CQRS, MediatR, FluentValidation, and Global Exception Handling in ASP.NET Core
C# Corner - Sardar Mudassar Ali Khan Issue #562
-
Understanding MediatR Pipeline Behaviors in .NET
Medium - YogeshKumar Hadiya Issue #554
In the previous article, we introduced MediatR into our Product Management Web API and used it to handle commands and queries through…
-
No, You Really Don't Need MediatR in .NET
YouTube Issue #547
Online Workshop: Vibe Coding for Production: https://dometrain.com/workshop/vibe-coding-for-production/?ref=nick-chapsas&promo=mail-list&coupon_code=3YEARS Get every Dometrain 40% off with code 3YEARS...
-
CommandFlow — version 2.0
Medium Issue #546
A few weeks ago, I presented CommandFlow, the alternative to CQRS and MediatR. The goal of the framework was to provide a simple but…
-
Implementing CQRS with MediatR in .NET
Medium Issue #545
In my previous article, Understanding CQRS (Command Query Responsibility Segregation) Pattern in .NET,
-
Stop Your AI Agent Picking the Wrong .NET Libraries
codewithmukesh Issue #543
AI agents default to AutoMapper, MediatR and MassTransit, all now commercial. Verified 2026 licensing, NuGet MCP Server, and guardrails that fail the build.
-
I Spent Two Weeks Trying to Break CommandFlow, the “Pragmatic Alternative” to CQRS and MediatR
Medium Issue #530
A hands-on investigation into whether CommandFlow actually solves the problems it claims to solve, with real code, real comparison numbers…
-
Implementing CQRS and Mediator Pattern with MediatR in .NET Core
C# Corner Issue #515
Master CQRS & Mediator with MediatR in .NET Core. Decouple logic, boost testability, and build scalable enterprise apps with clean code.
-
Building a CQRS Architecture with MediatR in ASP.NET Core 11
C# Corner Issue #515
Master CQRS with MediatR in ASP.NET Core 11. Separate reads/writes, simplify logic, and build scalable, maintainable apps.
-
CommandFlow: A Pragmatic Alternative to CQRS and MediatR — Appendix
Medium Issue #512
CommandFlow — Part1 CommandFlow — Part2
-
Five Everyday Pains of the Mediator Pattern in .NET (and How I Removed Them)
Medium Issue #510
CQRS is easy to reason about when the codebase is small. Six months later the pipeline is invisible, performance problems are hard to…
-
CommandFlow: A Pragmatic Alternative to CQRS and MediatR
Medium Issue #509
The problem with traditional .NET Architecture
-
You Probably Don’t Need MediatR
Medium Issue #508
MediatR shows up in a lot of .NET codebases by default now. Someone starts a project, adds it in the first week, and every request goes…
-
How to Build Clean Telegram Bots in .NET 8+ Using the Mediator Pattern and FSM
Medium Issue #508
Say goodbye to massive switch-case statements and nested if-conditions in your Telegram.Bot update handler.
-
Real-World MediatR Patterns and Common Mistakes in ASP.NET Core
C# Corner Issue #508
Master MediatR in ASP.NET Core! Learn patterns, avoid common mistakes, and build maintainable, decoupled applications.
-
CommandFlow: A Pragmatic Alternative to CQRS and MediatR — Part 2
Medium Issue #505
Table of contents
-
CQRS Without MediatR: A Lightweight Approach for Modern .NET Applications
C# Corner Issue #494
Implement CQRS in .NET without MediatR for a simpler, more maintainable, and easily debuggable architecture. Focus on core principles.
-
Vertical Slice Architecture in C# (.NET 8): A Complete Guide with Production-Ready Examples
Medium Issue #493
A deep dive into Vertical Slice Architecture in C# with .NET 8, real-world API design, CQRS, MediatR, and production-ready code examples.
-
How to Structure Production Apps with Vertical Slice Architecture in .NET in 2026
Dev Tips Issue #476
A practical guide to structuring vertical slices in .NET projects. Learn the file-per-concern slice layout, manual handlers without MediatR, Minimal APIs via IApiEndpoint, Result , FluentValidation,
-
Validation with MediatR Pipeline Behavior and FluentValidation in .NET 10
codewithmukesh Issue #471
Validate MediatR commands centrally in the pipeline with FluentValidation and IExceptionHandler in ASP.NET Core .NET 10 - clean handlers, one Problem Details response.
-
Moving Beyond MediatR: Implementing Cross-Cutting Concerns with Native .NET Dependency Injection
Medium Issue #462
For years, the MediatR package has been a default inclusion in almost every new .NET project template. It is frequently hailed as the gold…
-
C# .NET — Upgrading a Mediator Pipeline Project with Kiro Spec-First
Medium Issue #438
Upgrading a MediatR project to .NET 10 with Kiro IDE: testing the spec-first workflow to see how it performs and my overall impressions.