У нас вы можете посмотреть бесплатно Building Your Own CQRS Pipeline With Decorators (Dropped MediatR!) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
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 So… you’ve removed MediatR. But how do you replace pipeline behaviors like logging and validation? In this video, I’ll show you how to implement a powerful middleware pipeline for your custom CQRS setup using the Decorator Pattern—no MediatR needed. 🎯 You’ll learn how to: Implement logging and validation decorators for commands and queries Use Scrutor to auto-wire decorators in the DI container Preserve the same cross-cutting power you had with MediatR Chain decorators cleanly and control execution order This approach works with custom `ICommandHandler` and `IQueryHandler` abstractions—so you stay in control of your architecture, without sacrificing functionality. 📌 Covered: Replacing MediatR's `IPipelineBehavior` Using `Scrutor` for `services.Decorate` Order of execution in custom pipelines FluentValidation integration 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 What are Pipeline Behaviors? 1:14 Introducing a Logging Decorator 3:59 Registering decorators with DI 8:01 Decorating the command handlers 9:37 Creating a Validation Decorator 13:33 The correct Decorator ordering