Hi, I am making a program in ASP.NET MVC where I was facing problem in authentication and authorization process. How can I implement it in ASP.NET MVC as I implement it in ASP.NET. Thanks,
Hey Jenry, You can use [Authorize(Roles = "DefaultUser")]attribute to authorize perticular user on controller methods. For implementing authentication you can take a look of this sample application http://www.mindstick.com/Beginner/F769698F-FED6-43EB-8E61-D7BAAF713819/MVC/Login%20and%20Registration%20Form%20in%20ASP%20Net%20MVC/
Thanks
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Hey Jenry,
You can use [Authorize(Roles = "DefaultUser")]attribute to authorize perticular user on controller methods.
For implementing authentication you can take a look of this sample application
http://www.mindstick.com/Beginner/F769698F-FED6-43EB-8E61-D7BAAF713819/MVC/Login%20and%20Registration%20Form%20in%20ASP%20Net%20MVC/
Thanks