Part -3 Middlewares in ASP.NET Core: Understanding the Request Pipeline

Опубликовано: 22 Февраль 2025
на канале: Code Insights by Surya
248
7

Middlewares In ASP.NET
Middleware :

it is a component or class which will execute every request in ASP.NET Core Application. middleware is similar to HttpHandler and HttpModules where both need to be configured and executed.
1.In the ASP.NET Core web application multiple middleware we can define. this can be framework middlewares or your own custom middleware.
2.We can set the order of middleware execute in the each request.
3.We can configure middlewares in the configure method of startup class using IApplicationBuilder object.
4.Run extension method of IApplicationBuilder object will terminal middleware to the application request.