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

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024
  • 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

ความคิดเห็น • 52

  • @moazzamqureshi7150
    @moazzamqureshi7150 ปีที่แล้ว +6

    Amazing In depth and systematic explanation!

  • @yohanneskindu8794
    @yohanneskindu8794 2 หลายเดือนก่อน

    The level of detail, structure, and thought you've put into this content is truly remarkable. Fantastic video! Keep up the incredible work!

  • @Andjelko999
    @Andjelko999 6 หลายเดือนก่อน +1

    Straight to the point, simple and well explained! Well done!

  • @runawayvon01
    @runawayvon01 9 หลายเดือนก่อน +1

    Awesome content and detailed explanation for beginners.

  • @andrei9218
    @andrei9218 10 หลายเดือนก่อน +8

    Hi, could you please create the notification part also?

  • @moldovandorin6187
    @moldovandorin6187 4 หลายเดือนก่อน +2

    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

  • @nasermasri3816
    @nasermasri3816 5 วันที่ผ่านมา

    Super work!

  • @SmittyRG
    @SmittyRG 6 หลายเดือนก่อน

    Awesome content! The diagrams really help to understand the high-level concepts. Great job!

  • @TheImranbergi
    @TheImranbergi 3 หลายเดือนก่อน

    simply awesome explanation..

  • @blessdarah1256
    @blessdarah1256 ปีที่แล้ว +1

    Yes I am also interested in the notifications part

  • @siddistaken
    @siddistaken 10 หลายเดือนก่อน

    Nice content and project idea end to end.

  • @sumithc.ekanayake1010
    @sumithc.ekanayake1010 4 หลายเดือนก่อน

    Awesome content and good explanation. Thank you

  • @TellaTrix
    @TellaTrix 10 หลายเดือนก่อน

    wow very nice skills to teaching. Thank you for this valuable content

  • @kellyncodes7421
    @kellyncodes7421 9 หลายเดือนก่อน

    I love your videos. You explain things in detail, thank you so much. It will be very nice to create the notification path too.🎉🎉👍🤜🤛

  • @xender2112
    @xender2112 ปีที่แล้ว +1

    Thanks, Mohammad.

  • @nilokillian
    @nilokillian ปีที่แล้ว +1

    love you vids mate, keep it up!

  • @RoyZASTEROiD
    @RoyZASTEROiD ปีที่แล้ว +1

    i like your videos like this, thank you.

  • @devxbasit
    @devxbasit 8 หลายเดือนก่อน

    insightful, thank you

  • @fahamakhan3682
    @fahamakhan3682 ปีที่แล้ว +3

    please create notification part as well, thank you.

  • @lindermannla
    @lindermannla ปีที่แล้ว

    Excelent content. Congratulations.

  • @okeluelazarus7062
    @okeluelazarus7062 8 หลายเดือนก่อน

    This video is perfect

  • @onlylovelyvibes4467
    @onlylovelyvibes4467 8 หลายเดือนก่อน

    Amazing content

  • @shivaganga9148
    @shivaganga9148 9 หลายเดือนก่อน +1

    Thanks!

    • @MohamadLawand
      @MohamadLawand  8 หลายเดือนก่อน +1

      Thank you for your support

  • @imsupersir1134
    @imsupersir1134 3 วันที่ผ่านมา

    With the mediator pattern, are we creating a bottleneck?, by the way the content is good and the explanations is excellent, thanks a lot.

  • @alexandermackintosh1755
    @alexandermackintosh1755 7 หลายเดือนก่อน

    Great video thanks! Is there any particular reason you used suffix 'request' instead of 'command' for the commands?

  • @EldonElledge
    @EldonElledge ปีที่แล้ว +1

    Well done and informative. Thank you.

  • @yoanantoniolopezrodriguez766
    @yoanantoniolopezrodriguez766 4 หลายเดือนก่อน

    Amazing...

  • @chuonchuon7386
    @chuonchuon7386 7 หลายเดือนก่อน

    Thank you 😀

  • @coreygerhardt9630
    @coreygerhardt9630 6 หลายเดือนก่อน

    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 6 หลายเดือนก่อน

      Per usual, soon after I ask for help, I've figure it out. Great videos!!

  • @kenjohnsiosan9707
    @kenjohnsiosan9707 4 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

    Hi, why you do mapping in Handlers and in Controllers?

  • @shivaganga9148
    @shivaganga9148 9 หลายเดือนก่อน

    Awesome

  • @tarasiskiv9037
    @tarasiskiv9037 ปีที่แล้ว +2

    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 ปีที่แล้ว

      I wrote an answer to @foonlam7134 , maybe it will help you too.

    • @syedakashmazhar1875
      @syedakashmazhar1875 9 หลายเดือนก่อน

      I have the Exactly Same Question..

  • @mousaabdelnabyahmed878
    @mousaabdelnabyahmed878 4 หลายเดือนก่อน

    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.

  • @foonlam7134
    @foonlam7134 ปีที่แล้ว +1

    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 7 หลายเดือนก่อน

      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!

  • @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

  • @ShaZeGaming
    @ShaZeGaming ปีที่แล้ว

    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?

  • @andrei9218
    @andrei9218 10 หลายเดือนก่อน

    And if you could show how to add a new connection string for the queries

  • @kek_1459
    @kek_1459 ปีที่แล้ว

    Can you make a video about mediator notifications

  • @MilanZarathustra
    @MilanZarathustra ปีที่แล้ว

    yes notification please

  • @blessdarah1256
    @blessdarah1256 ปีที่แล้ว

    Quick question: Does the new connection string improve on performance?

  • @kedarkulkarin78
    @kedarkulkarin78 6 หลายเดือนก่อน

    github code is not available it seems

  • @dosovi4548bustayes
    @dosovi4548bustayes ปีที่แล้ว

    IMO Unitofwork better :)

    • @blessdarah1256
      @blessdarah1256 ปีที่แล้ว +1

      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 11 หลายเดือนก่อน +1

    Please explain your videos in Arabic ..... please speak Arabic