mo-esmp / DynamicRoleBasedAuthorizationNETCore

Dynamic Role-Based Access Control for ASP.NET Core MVC and Web API
GNU General Public License v3.0
451 stars 94 forks source link

How to include Razor Pages & Page Handlers #6

Closed tb-mtg closed 4 years ago

tb-mtg commented 5 years ago

Excellent project!

How would I go about handling RazorPages as well as/instead of controllers?

Particularly how to implement MvcControllerDiscovery for Razor Pages & Page Handlers where

mo-esmp commented 5 years ago

@tb-mtg sorry for answering late. Read this article about Discovering controller actions and Razor Pages in ASP.NET MVC Core.