C
C#6mo ago
Butterfly

When should you use an action filter in a real-world scenario

I can't think of much how the action filter can be improved the process of action? Is there any cases how successfully the action filter is implemented in real cases?
1 Reply
Pobiega
Pobiega6mo ago
action filters can be great when you want to apply some cross cutting concerns to some/all endpoints. An example could be api key filtering or similar