Customizing ASP.NET Core Part 6: Middleware

Wow, it is already the sixth part of this series. In this post, I’m going to write about middleware and how you can use them to customize your app a little more. I quickly go through the basics about middleware and then I’ll write about some more specials things you can do with middleware.
The Series Topics

Customizing ASP.NET Core Part 1: Logging
Customizing ASP.NET Core Part 2: Configuration
Customizing ASP.NET Core Part 3: Dependency Injection
Customizing ASP.NET Core Part 4: HTTPS
Customizing ASP.NET Core Part 5: HostedServices
Customizing ASP.NET Core Part 6: MiddleWares – This article
Customizing ASP.NET Core Part 7: OutputFormatter
Customizing ASP.NET Core Part 8: ModelBinder
Customizing ASP.NET Core Part 9: ActionFilter
Customizing ASP.NET Core Part 10: TagHelpers

About MiddleWares
Most of you already know what middlewares are, but some of you maybe don’t. Even if you’ve used ASP.NET Core for a while, you don’t really need to know any real details about middlewares, because they are mostly hidden behind nicely named extension methods like UseMvc(), UseAuthentication(), UseDeveloperExceptionPage(), and so on. Every time you call a Use-method in the Startup.cs in the Configure method, you’ll implicitly use at least one or maybe more middlewares.

Link: https://dzone.com/articles/customizing-aspnet-core-part-6-middleware?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev