关于[Customizing ASP.NET Core Part 6: Middleware]的摘要:
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.
原文地址: https://dzone.com/articles/customizing-aspnet-core-part-6-middleware