Chapter 6: Writing Custom Middleware
Wow, we are already onto the sixth chapter of this book! In this chapter, we will learn about middleware and how you can use it to customize your app a little more. We will quickly go through the basics of middleware and then we'll explore some special things you can do with middleware.
We'll cover the following topics:
- Introducing middleware
- Writing a custom middleware
- Exploring the potential of middleware
- Using middleware on ASP.NET Core 3.0 and later
The topics of this chapter relate to the Middleware layer of the ASP.NET Core architecture:
Figure 6.1 – ASP.NET Core architecture