Clean ASP.NET Core API using MediatR and CQRS | Setup

250087
300
4764
02.12.2019
Nick Chapsas

Nick Chapsas

14173719
145000
293
29.11.2011
GB
Описание видео:

Become a Patreon and get source code access: 🤍🤍patreon.com/nickchapsas Check out my courses: 🤍nickchapsas.com Hello everybody I'm Nick and in this ASP.NET Core tutorial I will show you how you can use CQRS and MediatR to clean up your applications. I will briefly explain what CQRS and the Mediator patterns are and how they apply in our use-case. The I will show you how you can use the MediatR package to decouple your API layer from your application layer, leading to more testable and manageable code. Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: 🤍bit.ly/ChapsasGitHub Follow me on Twitter: 🤍bit.ly/ChapsasTwitter Connect on LinkedIn: 🤍bit.ly/ChapsasLinkedIn #aspnetcore #mediatr #cqrs #tutorial

Кадры из видео
Clean ASP.NET Core API using MediatR and CQRS | Setup
Clean ASP.NET Core API using MediatR and CQRS | Setup
Clean ASP.NET Core API using MediatR and CQRS | Setup
Clean ASP.NET Core API using MediatR and CQRS | Setup
Тэги из видео
Комментарии пользователей:
haroldpepete
2022-08-08 16:27:40

what happen if i need to modify an entity, i must write all the fields of that entity inside of UpdateUserCommand?

Andy Fitz
2022-07-06 19:44:55

Last time I looked at Mediator it implemented the 'service locator pattern' which is a known anti pattern of designing applications which are highly decoupled? I could be wrong though....

goodstas
2022-07-05 17:46:23

where is a link to the source? thank u.

Matt Markus
2022-06-09 23:54:50

Do you have an episode that lists the tooling you use in Visual Studio? Thanks for the great content.

TheAzerue
2022-06-05 22:34:25

Hi
One question. Now that we have minimal api, and we have IEndpoint for each api that can contain relevant dependent classes and code. Does it still make sense to use MediatR with minimal api. Keep up good work.

Fredrik Nilsson
2022-05-28 07:22:43

Great explanation! I was wondering. When it is a small application this seems good. But when it grows and someone new start working on the project it might be hard to find the handler file.
Because from what I can understand you can't use F12 to go to the handler. Is there a better way to create the classes so you can find the handler for the methods you are calling?

Jochem Bonarius
2022-05-25 07:34:27

Hi Nick, thanks. MediatR seems to require a lot of boilerplate code. It locks you in to the tool. Is it really that useful? Is it still used a lot in .net 6, now going to 7?

Naveed Iqbal
2022-05-19 13:43:25

Please share the code

Paweł Nowak
2022-04-22 22:34:15

Thank You for this tutorial:) It seems pretty easy now:)

Abraham Rivera
2022-04-17 03:44:46

Nice and sweet, sounds perfect, currently in mi job I have like 30 services and repos for every controller..... that is super dirty.

Anil Kumar
2022-04-14 06:27:30

this class is very helpful for beginner .. think you sir

softanshu7
2022-04-10 03:28:05

In the handler , if we inject logger service how is that going to capture exceptions related to db connection.

DP
2022-04-08 15:34:36

How do i cast my object to Task<Object>.
I have Model class and i want to convent that class object to Task<object>.

Clash Clan
2022-03-31 16:28:34

where is part 2 video, I'm expecting a series in this topic

Clash Clan
2022-03-29 15:56:37

where is rest of the videos? can you pls share the playlist link

Defense89
2022-03-03 16:59:29

WOW Nick Chapsas what a nice formation , subscribed!!!! and also can we get the full project to follow along? like how to create the api you created and then add mediator to it?

TK
2022-02-25 06:30:05

I'm still not totally convined that MediatR is a 'better' option than simple DI, other than making it harder to find the implementations

nosalan
2022-02-20 19:33:48

Call handler interface from controller and you won’t need the Mediatr layer

Алексей Иванов
2022-02-18 19:04:04

Hm, instead of writing all those "private readonly Type _fieldname;", just write parameter in ctor and lets rider/resharper do all this stuff.

Что ищут прямо сейчас
bfa Эмиграция Aadhar se mobile link kaise karen Sergeli moshina bozori Амон Ас на русском AlArabiya high pressure cleaning video гост бастер недорогие ткани сбоник серий bfv БДА துலாம் самса как на базаре неловкие вопросы courage award So'ndi مساعدات اي دولات elam free hindi voice pack in pubgm
Похожие видео
04.12.2019
Validation using MediatR's Pipeline Behaviors and FluentValidation | Clean .NET Core

Validation using MediatR's Pipeline Behaviors and FluentValidation | Clean .NET Core

26.10.2021
Should you use the Repository Pattern? With CQRS, Yes and No!

Should you use the Repository Pattern? With CQRS, Yes and No!

28.04.2021
Mediator Design Pattern (C#)

Mediator Design Pattern (C#)

08.09.2020
8 await async mistakes that you SHOULD avoid in .NET

8 await async mistakes that you SHOULD avoid in .NET

16.11.2021
CQRS & Event Sourcing Code Walk-Through

CQRS & Event Sourcing Code Walk-Through

14.01.2022
My .NET backend developer roadmap for 2022

My .NET backend developer roadmap for 2022

02.06.2022
CQRS and MediatR In ASP.NET Core

CQRS and MediatR In ASP.NET Core

04.08.2022
Stop using the HttpClient the wrong way in .NET

Stop using the HttpClient the wrong way in .NET

22.01.2022
How slow is MediatR really?

How slow is MediatR really?

31.01.2021
How to structure a .NET Solution (project separation & architecture)

How to structure a .NET Solution (project separation & architecture)

13.09.2020
Learn CQRS Design Pattern | CQRS Pattern C# | CQRS Design Pattern Tutorial | CQRS Design Pattern C#

Learn CQRS Design Pattern | CQRS Pattern C# | CQRS Design Pattern Tutorial | CQRS Design Pattern C#

25.11.2021
Asp.Net Core API from scratch w/ clean architecture and CQRS (1)  - API versioning, swagger

Asp.Net Core API from scratch w/ clean architecture and CQRS (1) - API versioning, swagger

01.06.2020
asp.net core - MediatR (CQRS) Tutorial & Tips

asp.net core - MediatR (CQRS) Tutorial & Tips

26.03.2021
Intro to MediatR - Implementing CQRS and Mediator Patterns

Intro to MediatR - Implementing CQRS and Mediator Patterns

09.09.2022
The fastest way to iterate a List in C# is NOT what you think

The fastest way to iterate a List in C# is NOT what you think

15.06.2021
Clean Architecture Example & Breakdown - Do I use it?

Clean Architecture Example & Breakdown - Do I use it?