Y
Hacker News
new
|
ask
|
show
|
jobs
by
hypeatei
716 days ago
.NET web apps / APIs have an option where you can require authorization on all controllers (and their actions) by default. If you need an anonymous controller/action, you can use the `[AllowAnonymous]` attribute on it.
1 comments
api_or_ipa
716 days ago
You can easily do the same with most (all?) routers using middleware. Whether you get it slotted in your roadmap is a different story.
link