.NET 7 💥 - Intro to CQRS and MediatR with ASP.NET Core Web Api

  Рет қаралды 26,027

Mohamad Lawand

Mohamad Lawand

Күн бұрын

In this video we will be going to learning about CQRS and MediatR with .NET Web API.
Support me on Patreon to access the source code:
/ mohamadlawand
Base App: • .NET 7 💥 - ASP.NET C...
Let us connect:
🌍 My website - mohamadlawand.com
📸 Instagram - / mohamadlawand087
🐦 Twitter - / moe23
♯ Github - github.com/moh...
🎫 LinkedIn - / mlawand
💥 LinkTree - linktr.ee/moha...
Gear I use (affiliate link): amzn.to/3EbT8Jw
Support my work:
/ mohamadlawand
www.buymeacoff...
Hire Me:
transactions.s...
WHO AM I:
I'm Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.
GET IN TOUCH:
If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hello@mohamadlawand.com.
#dotnet #mediatr #cqrs

Пікірлер: 50
@yohanneskindu8794
@yohanneskindu8794 Ай бұрын
The level of detail, structure, and thought you've put into this content is truly remarkable. Fantastic video! Keep up the incredible work!
@moldovandorin6187
@moldovandorin6187 3 ай бұрын
this is the only clip where the author actually explains what's happening with the query, the handler and how mediator is using behind the scene the send method to process a query by the handler. Almost all the other videos are just mechanically showing ...this is the query, this is the handler, this is the mediator send ... bla bla bla with zero knowledge transfer. Thank you for the video Mohamad
@moazzamqureshi7150
@moazzamqureshi7150 11 ай бұрын
Amazing In depth and systematic explanation!
@Andjelko999
@Andjelko999 5 ай бұрын
Straight to the point, simple and well explained! Well done!
@SmittyRG
@SmittyRG 5 ай бұрын
Awesome content! The diagrams really help to understand the high-level concepts. Great job!
@blessdarah1256
@blessdarah1256 Жыл бұрын
Yes I am also interested in the notifications part
@runawayvon01
@runawayvon01 8 ай бұрын
Awesome content and detailed explanation for beginners.
@sumithc.ekanayake1010
@sumithc.ekanayake1010 3 ай бұрын
Awesome content and good explanation. Thank you
@kellyncodes7421
@kellyncodes7421 8 ай бұрын
I love your videos. You explain things in detail, thank you so much. It will be very nice to create the notification path too.🎉🎉👍🤜🤛
@TheImranbergi
@TheImranbergi 2 ай бұрын
simply awesome explanation..
@TellaTrix
@TellaTrix 9 ай бұрын
wow very nice skills to teaching. Thank you for this valuable content
@andrei9218
@andrei9218 9 ай бұрын
Hi, could you please create the notification part also?
@fahamakhan3682
@fahamakhan3682 Жыл бұрын
please create notification part as well, thank you.
@xender2112
@xender2112 Жыл бұрын
Thanks, Mohammad.
@nilokillian
@nilokillian Жыл бұрын
love you vids mate, keep it up!
@siddistaken
@siddistaken 9 ай бұрын
Nice content and project idea end to end.
@shivaganga9148
@shivaganga9148 8 ай бұрын
Thanks!
@MohamadLawand
@MohamadLawand 7 ай бұрын
Thank you for your support
@RoyZASTEROiD
@RoyZASTEROiD Жыл бұрын
i like your videos like this, thank you.
@lindermannla
@lindermannla Жыл бұрын
Excelent content. Congratulations.
@mousaabdelnabyahmed878
@mousaabdelnabyahmed878 3 ай бұрын
There is a lot of English content and I noticed that you are smart, It would be great if your content was in Arabic, or at least had another Arabic content besides the english one. Thank you.
@devxbasit
@devxbasit 7 ай бұрын
insightful, thank you
@coreygerhardt9630
@coreygerhardt9630 5 ай бұрын
Excellent videos. I've scoured this and its previous video to learn CQRS and Mediatr. I can't find how you made Delete and Update async though.
@coreygerhardt9630
@coreygerhardt9630 5 ай бұрын
Per usual, soon after I ask for help, I've figure it out. Great videos!!
@okeluelazarus7062
@okeluelazarus7062 7 ай бұрын
This video is perfect
@onlylovelyvibes4467
@onlylovelyvibes4467 7 ай бұрын
Amazing content
@yoanantoniolopezrodriguez766
@yoanantoniolopezrodriguez766 3 ай бұрын
Amazing...
@EldonElledge
@EldonElledge 11 ай бұрын
Well done and informative. Thank you.
@MohamadLawand
@MohamadLawand 11 ай бұрын
Glad it was helpful!
@tarasiskiv9037
@tarasiskiv9037 11 ай бұрын
I can't understand for what I need mediatR. So, if I keep all logic in my services, and in the controler's methods I just call methods from my services, why I need to use mediatR? It's easier to avoid mediatR. And also, it requires less code. Can someone explain me, why mediatR is better? Thanks
@ertan1147
@ertan1147 11 ай бұрын
I wrote an answer to @foonlam7134 , maybe it will help you too.
@syedakashmazhar1875
@syedakashmazhar1875 8 ай бұрын
I have the Exactly Same Question..
@chuonchuon7386
@chuonchuon7386 6 ай бұрын
Thank you 😀
@foonlam7134
@foonlam7134 11 ай бұрын
I'm see a lot if the Mediatr ir cqrs video show only simple crud operations. I have a complex app where i am processing messages that come in deoending on the message type. The method in my current controller has to call several other services and make http requests to third parties as well. My question is do i put all the method logic into the handler or do i need to create a separate command and separate handler for each if the service calls i make. If so, who will be orchestrating the process flow. If we put the whole logic into the handler are we not just moving the logic into another layer? This is where I'm confused. I wish someone would nake a video showing a bit more complexity in the handlers. I understand that they show the simple stuff so that we understand how it works but i need to know what the right approach is for complex logic
@alexandermackintosh1755
@alexandermackintosh1755 6 ай бұрын
I think moving the business logic into its own layer is a benefit for sure, it's a big part of what using mediatR or services or specifications or whatever all have in common. The core business logic lives in one separated later away from all the interactions with the outside world (external APIs, databases, filesystems etc) so your handler/services/specifications are really obvious what their logic is and really easy to test. Whichever of these you pick I'm not convinced make too much difference tbh, as long as you pick atleast one of them!
@shivaganga9148
@shivaganga9148 8 ай бұрын
Awesome
@MilanZarathustra
@MilanZarathustra Жыл бұрын
yes notification please
@kenjohnsiosan9707
@kenjohnsiosan9707 3 ай бұрын
i use PHP for most of my projects, im new to .NET what is the benefit of using different connection string , does that mean there are multiple database? thanks
@mkasem9408
@mkasem9408 3 ай бұрын
Hi, why you do mapping in Handlers and in Controllers?
@alexandermackintosh1755
@alexandermackintosh1755 6 ай бұрын
Great video thanks! Is there any particular reason you used suffix 'request' instead of 'command' for the commands?
@mohammedabdalla6452
@mohammedabdalla6452 Жыл бұрын
Hello and thank you for the great content Can you put all of this in a small project and use the tdd approach Thank you again
@kek_1459
@kek_1459 Жыл бұрын
Can you make a video about mediator notifications
@andrei9218
@andrei9218 9 ай бұрын
And if you could show how to add a new connection string for the queries
@blessdarah1256
@blessdarah1256 Жыл бұрын
Quick question: Does the new connection string improve on performance?
@ShaZeGaming
@ShaZeGaming 11 ай бұрын
Hello, im try to learning from you. But in this class, i got the ' No service for type 'MediatR.IRequestHandler' has been registred' Error with MediatR. I try to fix this on the internet bu nothing work for me. Do you have any solution for it?
@kedarkulkarin78
@kedarkulkarin78 5 ай бұрын
github code is not available it seems
@dosovi4548bustayes
@dosovi4548bustayes Жыл бұрын
IMO Unitofwork better :)
@blessdarah1256
@blessdarah1256 Жыл бұрын
UnitOfWork does the job just fine but CQRS really makes it easy to scale your API very well and really have a good separation of concerns.
@dosovi4548bustayes
@dosovi4548bustayes Жыл бұрын
@@blessdarah1256 too much code..
@LuminoSkywalker
@LuminoSkywalker 10 ай бұрын
Please explain your videos in Arabic ..... please speak Arabic
Intro to MediatR - Implementing CQRS and Mediator Patterns
1:21:50
IAmTimCorey
Рет қаралды 224 М.
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 658 М.
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 10 МЛН
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 1,1 МЛН
Clean ASP.NET Core API using MediatR and CQRS | Setup
22:39
Nick Chapsas
Рет қаралды 322 М.
Creating .Net Core Microservices using Clean Architecture
26:02
Rahul Sahay
Рет қаралды 20 М.
MediatR: Why should you use it?
7:20
CodeOpinion
Рет қаралды 56 М.
CQRS pitfalls and patterns - Udi Dahan - NDC Oslo 2023
59:26
NDC Conferences
Рет қаралды 25 М.
CQRS Explained in 5 MINUTES | What is CQRS?
5:26
Marco Lenzo
Рет қаралды 38 М.
5 Rules For DTOs
17:56
Ardalis
Рет қаралды 42 М.
Clean architecture with CQRS and MediatR in Asp.Net Core
42:24
Codewrinkles
Рет қаралды 16 М.
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 658 М.