ASP.Net Core is an open source, cross-platform, lean, and modular framework for building high-performance web applications. It is also extensible. When building an ASP.Net Core application, you can draw on various middleware components to customize the handling of requests and responses, and even inspect, route, or modify the request and response messages that flow through the pipeline.
This article presents a discussion of ASP.Net Core middleware and how it can be used, with relevant code examples in C#.