In this video I'm showcasing a basic custom ASP.NET Core middleware. I'm explaining what a middleware is doing in the first part and then I show you how to build a custom one from ground up. I will also present how to optionally enable middlewares using attributes.
The source code is available at https://github.com/codingfreak/blogsa....
Timeline:
00:00:00 Introduction
00:00:55 About middleware basics
00:08:08 Demo creating a middleware
00:25:25 Using attributes to control middleware