ASP.NET MVC 3 Authentication/Authorization [closed]

折月煮酒 提交于 2019-12-04 08:26:40

问题


I am very new to ASP.NET MVC 3 (and MVC in general for that matter). In ASP.NET Web Forms, I did authentication using Principals and Identities. Is this the recommended way to do it in MVC or is there something newer? I see a Membership class, but if I understand it correctly it is too heavyweight for what I need.

Does any one have a good tutorial or site recommendation to help me out with this? It can be comprehensive as I still don't have this stuff solidified.

Thanks.


回答1:


FYI, here's a nice blog post about how to integrate IIdentity and IPrincipal with MVC 3

http://www.bradygaster.com/post/custom-authentication-with-mvc-3.0



来源:https://stackoverflow.com/questions/5748726/asp-net-mvc-3-authentication-authorization

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!