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

preview_player
Показать описание
In this video we will discussed .NET Middleware and how we can use it in our web api

Support me on Patreon to access the source code:

Let us connect:

Support my work:

Hire Me:

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:

#dotnet #api #middleware
Рекомендации по теме
Комментарии
Автор

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

saddamhossaindotnet
Автор

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

ala
Автор

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

issamboutissante
Автор

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.

gileee
Автор

It's time to buy a Ferarri cap :)

andrii_ky
Автор

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

sidisidahmed
Автор

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

jayakumar
Автор

Assalmu alaykum,

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

AlibabaEsanov
Автор

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

rajkumar-oyni