Nikunj Satasiya

Nikunj Satasiya

  • 279
  • 6.1k
  • 3.5m

How to Add [AllowAnonymous] for All Controllers in WEB API?

Apr 6 2021 6:03 AM
Hi
 
Can anyone help me to Add [AllowAnonymous] for All Controllers in WEB API without using any filter or manually add [AllowAnonymous] attribute for each controller or action method?
 
Is there any Global way to archive this requirement in web API?
 
Thank you.  

Answers (4)