ASP.NET Core 3.1 Middleware Concepts and Use Cases of Middleware Pipeline - Part 7

Опубликовано: 16 Ноябрь 2024
на канале: Kaushik Roy Chowdhury
667
4

UDEMY BRAND NEW COURSE "JavaScript Best Practices - A Hands On Approach" Discount Promo Link below (ENDS 15th Nov):
https://www.udemy.com/course/javascri... I encourage you to please share the link with as many of your friends as you may like as there is an indefinite number of redemptions till the link expires.
Anyone interested can enrol with a best-discounted price of USD 9.99 only from the link.
Further details are available in the free preview promo videos for the respective courses.
I hope you'll have plenty of interesting things to keep yourself engaged in these courses.
Best Wishes,
Kaushik this offer is only valid until May 31, 2024, 11:00 hrs (New Zealand Time).


#MicrosoftStack #UdemyCourses #LearnCoding #Promo #Discounts 🚀 🚀

📅 *Valid until March 10, 2024, 22:00 (New Zealand Time)*

🌟 Dive into the world of Microsoft Stack with exclusive $9.99 discounts on these Udemy courses:

🚀🎓 Next:    • Don't Putup With Instance Error Updat...   ++++++++++ (Unit Testing Blazor ASP.NET 5) This is part 7 of the playlist. This tutorial discusses what middleware and middleware pipeline are all about. It brings up some key points about the middleware in the request-response scheme of things.
The lecture discusses that middleware is a C# class that accomplishes a functionality for an asp.net core 3.1 application. There are examples like logging, image resizing, authentication, authorization, routing, and many other middleware that are already built into the ASP.NET Core web framework. A middleware is termed a terminal middleware if it short circuits the rest of the middleware downstream and returns a response to the specific request which reverses the direction of flow. Also, the endpoint middleware is perhaps the most important of all the middleware as if the request reaches this middleware an html or web api response is generated by it and sent back to the ASP.NET core server. So all the html or web api responses are generated by endpoint middleware.

Also one piece of middleware after handling a request can add data to the request which could be used by the next piece of middleware. The authentication middleware checks for the user in a request and passes it on to the authorization middleware to determine if the request for that user can execute.

#aspnetcore31 #requestpipeline #middleware #middlewarepipeline #terminalmiddleware My Patreon Page (for support):   / deveducate   My meditation Channel:
   / @watchandrelax9142   Buy Me A Coffee:
https://www.paypal.com/cgi-bin/webscr... https://www.skillshare.com/r/profile/... ** " "