dotnet / dotnet/AspNetCore.Docs
Add a section "Applying Filters"
- Dominant language
- C#
- Stars
- 13.1k
- Forks
- 24.6k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 97
Description
### Description
[Enter feedback here]
For a first time user it's very hard to figure the different ways to actually apply filters to actions. If I read correctly, there are 3 ways:
* Deriving from `ActionFilterAttribute`
* Using `ServiceFilterAttribute`
* Using `TypeFilterAttribute`
Please add a section to the documentation right after `How Filters Work` titled `Applying Filters` that summarizes these options.
### Page URL
https://learn.microsoft.com/en-us/aspnet/core/mvc/controllers/filters?view=aspnetcore-8.0
### Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/controllers/filters.md
### Document ID
ebb299e0-6c1c-7077-689d-ac711352e418
### Article author
@tdykstra
Contributor guide
Assessment
This issue has not been assessed yet.