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.


Piyush PansuriyaRank #454 · 5.5K reputationPosted Apr 6, 2021, 2:31 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Apr 7, 2021, 5:25 AM EDT
Rijwan AnsariRank #82 · 24.2K reputationPosted Apr 7, 2021, 8:12 AM EDT
Salman BegRank #284 · 8.8K reputationPosted Apr 6, 2021, 2:37 AM EDT