.NET 🔥🚀 : What are Middlewares and how we can leverage our APIs with it?

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 19

  • @saddamhossaindotnet
    @saddamhossaindotnet 9 місяців тому +3

    This is an awesome tutorial. I loved the way you explained everything!

  • @issamboutissante1542
    @issamboutissante1542 9 місяців тому

    Thank you for the explanation Mohamad, I love how you are organizing your videos!

  • @clivebird5729
    @clivebird5729 6 місяців тому

    Excellent middleware description!

  • @ala24531
    @ala24531 9 місяців тому +1

    Good job! Why would we add the middleware as a transient and not a scoped service?

  • @gileee
    @gileee 9 місяців тому

    My favorite way to build services. .NET definitely stole this pattern from Node frameworks like Express/Koa.js and it's awesome.
    Makes it so easy to see *exactly* the path a request takes through the system, including business logic layers if you also extend this layering approach to them (like by using Optional/Maybe and chaining everything one after the other)
    It's just so nice to be asked why, where and when something happens to a request and then pulling up a complete journey of that kind of request though the system.
    It also makes it trivial to implement a sort of railway oriented approach, ie. the two paths approach. The happy path and the unhappy (request rejected for some reason) path. Since you either call the next middleware in the chain, or you return early with an error by simply not calling the next middleware.

  • @abudavid5929
    @abudavid5929 5 місяців тому

    Good tutorial

  • @onlylovelyvibes4467
    @onlylovelyvibes4467 9 місяців тому

    God bless you!

  • @andrii_ky
    @andrii_ky 9 місяців тому +1

    It's time to buy a Ferarri cap :)

    • @MohamadLawand
      @MohamadLawand  9 місяців тому

      the cap would be here before 2025 :)

  • @sidisidahmed755
    @sidisidahmed755 9 місяців тому

    Hi Mohamad , God bless you brother .
    which software are u using for drawing , thank you !

  • @jayakumar2927
    @jayakumar2927 9 місяців тому

    How we can assume status 500. How it is dynamic?

  • @AlibabaEsanov
    @AlibabaEsanov 9 місяців тому

    Assalmu alaykum,
    God bless you! Why do you use MacOs operting system? You are .NET developer.

  • @rajkumar-oy3ni
    @rajkumar-oy3ni 5 місяців тому

    your tutorials are good but explaining fast not able to catch you, please go little slow