开发者

ASP.NET MVC 3 Authentication/Authorization [closed]

开发者 https://www.devze.com 2023-02-27 13:33 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_如何学GoWant to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.
开发者_如何学Go

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

Improve this question

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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消