Filters

In this chapter, we will cover the following topics:

  • Managing authentication and authorization with policies, requirements, and filters
  • Managing dependency injection with filters
  • Creating and using an action filter
  • Creating and using a result filter
  • Creating and using a resource filter
  • Creating and using an exception filter
  • Using a filter globally versus using a middleware

Get ASP.NET Core MVC 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.