Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a section "Applying Filters" #33115

Open
paviad opened this issue Jul 19, 2024 · 0 comments
Open

Add a section "Applying Filters" #33115

paviad opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels

Comments

@paviad
Copy link
Contributor

paviad commented Jul 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants