Middleware in ASP.NET 6 - Conditionally Adding Middleware to the Pipeline
Let's execute some middleware in our ASP.NET 6 app only under certain conditions, using AppSettings or the request URL and body.
Let's execute some middleware in our ASP.NET 6 app only under certain conditions, using AppSettings or the request URL and body.
Let's see how the order of the middleware in the ASP.NET 6 pipeline affects how they function.
Let's build custom ASP.NET 6 Middleware classes, including a logger and a simple response middleware.
Let's see what Middleware is in ASP.NET 6, how it forms pipelines, how the Program.cs file is involved, and a simple implementation.
The presentation of .NET 5.0 to the wider world has given me the opportunity to dive deeper into some of its features while building an app that will be used in the real world, a rare opportunity I'm loathe to waste. So, my team and I built a new