Posts

Showing posts from July, 2017

Understanding ASP.Net -Part3- Building Reusable and Configurable Middlewares

Image
Introduction Hello and welcome to part3 of Understanding ASP.Net with Owin and Katana series, I this series we are learning about new owin and katana features in ASP.Net 4 and above. So, if you are new to OWIN then please go back and check other parts as well where we discussed all the details about what OWIN, what benefits it provides and why we should use it. Understanding ASP.Net - Part1- Owin and Katana Introduction Understanding ASP.Net -Part2- Building an Owin Pipeline In this part, we will create a reusable OWIN middleware that we can configure and use in different projects and even in a different OWIN implementation other than Project Katana. Creating Middleware We will refactor our delegate based debug middleware that we created in the last part and turn it into a reusable and configurable middleware by creating a middleware class. Now create a folder named “Middlewares” where we’ll put our middleware classes. With this in place c...