ASP.NET MVC 3 Authentication/Authorization [closed

2019-03-12 19:18发布

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条回答
不美不萌又怎样
2楼-- · 2019-03-12 20:03

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

查看更多
登录 后发表回答