These are my settings in web.config:
<authentication mode="Forms">
<forms loginUrl="~/Login/Login" timeout="2880" />
</authentication>
I have few actions on my controller, with each action I added a [AllowAnonymous] decoration, but I get a redirect from each action to the Login action.
I even tried adding the [AllowAnonymous] decoration to the controller, but that does not help.
thank
source
share