I want to implement a web project with ASP.NET Core, all pages of which require authorization.
I do not want to put the Authorize attribute on top of all controllers.
Is there a way to define this at the project level and have it applied to all pages?