开发者

ASP.NET MVC + LiveID --> should I use the Membership provider & Account controller?

开发者 https://www.devze.com 2022-12-10 10:53 出处:网络
I\'d like to use LiveID o开发者_如何学运维n an ASP.NET MVC site.Should I still use the ASP.NET Membership provider?How about the default MVC Account controller?I have things working without either, bu

I'd like to use LiveID o开发者_如何学运维n an ASP.NET MVC site. Should I still use the ASP.NET Membership provider? How about the default MVC Account controller? I have things working without either, but:

  1. Using the Membership controller lets me see when a user last logged in.
  2. Using the Account controller makes setting authentication cookies a bit easier.

Thoughts?


Answered here before, Peter Bromberg has a nice sample. You would still use the Membership provider albeit as a custom provider.

0

精彩评论

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

关注公众号