ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

I Removed MediatR – Building Your Own CQRS Handlers in .NET

cqrs

cqrs event sourcing

cqrs saga

cqrs .net

cqrs dotnet

cqrs c#

cqrs .net 6

cqrs rest api

cqrs api

cqrs ddd

cqrs domain-driven design

cqrs restful api

cqrs .net 6 api

cqrs .net 7 api

cqrs microservice

cqrs microservices

cqrs .net microsevice

cqrs .net microservices

cqrs .net event sourcing

cqrs mediatr

cqrs mediator

mediatr

mediator

clean architecture

clean code

software engineering

design patterns

.net core

asp.net core

cqrs vs saga

Автор: Milan Jovanović

Загружено: 2025-05-13

Просмотров: 18505

Описание: Get the free Clean Architecture template: https://dub.sh/ca-template
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt

You've probably heard—MediatR is going commercial.

If you're using it in your Clean Architecture template (like I did), it might be time to explore alternatives. In this video, I’ll walk you through a full MediatR-free CQRS implementation using custom `ICommand`, `IQuery`, and handler interfaces.

✅ We’ll cover:
Why I decided to remove MediatR
How to build your own CQRS abstractions
Replacing ISender with explicit handler injection
Manual DI vs automatic scanning using [Scrutor](https://www.nuget.org/packages/Scrutor)
Fully working Command & Query pipeline without third-party libraries

You'll see how to:
Refactor a .NET API endpoint from MediatR to your own handler
Register handlers manually and automatically
Handle generic result types for commands and queries

👉 Want to skip ahead and use the updated template?
Check the pinned comment for a link to the Clean Architecture template without MediatR.

Check out my courses:
https://www.milanjovanovic.tech/courses

Read my Blog here:
https://www.milanjovanovic.tech/blog

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Chapters
0:00 Why MediatR and CQRS
1:44 ICommand and IQuery abstractions
4:33 Registering handlers with DI
5:21 Using handlers in endpoints (or services)
7:47 Completing the refactoring
10:32 A better way to register handlers with DI
13:55 The problem with cross-cutting concerns

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
I Removed MediatR – Building Your Own CQRS Handlers in .NET

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Building Your Own CQRS Pipeline With Decorators (Dropped MediatR!)

Building Your Own CQRS Pipeline With Decorators (Dropped MediatR!)

Vite — лучший сборщик для фронтенда в 2025: почему его выбирают все

Vite — лучший сборщик для фронтенда в 2025: почему его выбирают все

Clean architecture with CQRS and MediatR in Asp.Net Core

Clean architecture with CQRS and MediatR in Asp.Net Core

MediatR Is Going Paid, Here's My Free Alternative

MediatR Is Going Paid, Here's My Free Alternative

Building Real-Time Applications With SignalR & .NET 9 (full tutorial)

Building Real-Time Applications With SignalR & .NET 9 (full tutorial)

ВСЕ ЧТО НУЖНО ЗНАТЬ О ДЕПЛОЕ, DOCKER, CI/CD, ЕСЛИ ТЫ НОВИЧОК

ВСЕ ЧТО НУЖНО ЗНАТЬ О ДЕПЛОЕ, DOCKER, CI/CD, ЕСЛИ ТЫ НОВИЧОК

РЕВОЛЮЦИЯ, которую мы НЕ ЗАМЕТИЛИ

РЕВОЛЮЦИЯ, которую мы НЕ ЗАМЕТИЛИ

Clean Input Validation With FluentValidation in .NET

Clean Input Validation With FluentValidation in .NET

«Жить надо сегодня». Олег Тиньков и Майкл Калви о взлете нового финтех-стартапа Plata

«Жить надо сегодня». Олег Тиньков и Майкл Калви о взлете нового финтех-стартапа Plata

My Complete CQRS and Domain Events Setup in .NET

My Complete CQRS and Domain Events Setup in .NET

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]