asp.net mvc - Controller without Authentication when using VS2013 Organizational Auth web template -


Can I configure an administrator to authenticate at any time while using the Organizational Accounting Template from Visual Studio 2013? I thought that a controller or action is used in MVC to mark as protected. But in this template it seems that all controllers are preserved by default. In my situation, to make any unsafe controller as a welcome / landing page, without redirecting it without login page. Is this possible?

Add [AllowAnonymous] to your controller.


Comments