I am trying to implement Identity 2.0 in my newly created webform application. I have gone through the the article over here :
http://www.asp.net/identity/overview/getting-started/adding-aspnet-identity-to-an-empty-or-existing-web-forms-project
and i am getting the results. But i am unable to understand how to achieve this. Suppose I add a new page which i want only logged-in users to view. Then how to redirect users back to login page, with return url, if they try to access the restricted page
? In forms authentication we do it using this
<authorization>
<deny users="?"/>
</authorization
tag in web.config. How to do it while using identity ?
Go to the complete details ...