Summary
Most of the ASP.NET Core features are based on middleware and in this chapter, you learned how middleware works and how to create your own middleware components to extend the ASP.NET framework. You also learned how to use the new routing to add routes to your own custom terminating middleware components.
In the next chapter, we will have a look at the new endpoint routing in ASP.NET Core, which allows you to create your own hosted endpoints in an easy and flexible way.