Filter Pipeline

In this chapter, we will cover another essential topic in ASP.NET Core: the filter pipeline. Filters are a vital component that we can use to achieve cross-cutting implementation in our services. Although we have already seen how to implement cross-functionalities using the middleware pipeline, filters are more specialized components that are linked to the MVC pipeline. Therefore, filters can be used to implement more specific logic, related to the controller's execution. This chapter will show you how to implement these filters and will describe some concrete use cases.

We will cover the following topics in this chapter:

  • An introduction to filters in ASP.NET Core
  • How to implement and apply filters to the filter pipeline
  • Some concrete use cases for filters
  • How to use resolve dependencies in the filter pipeline

This chapter provides information about the filter stack in .NET Core and how to use filters to enhance the features of our web services.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.122.4