ASP.NET Identity vs Simple membership Pros and Cons?

后端 未结 2 844
名媛妹妹
名媛妹妹 2020-12-08 00:58

In MVC4 we had Simple Membership. My opinion is that Simple Membership was a good Identity Model tried and tested with good documentation and didn\'t need t

相关标签:
2条回答
  • 2020-12-08 01:36

    @Roman references some good articles that looks at the pros and cons of ASP.NET Identity and the membership provider model.

    ASP.NET Identity gets away from the membership provider model, which I believe is a good thing. There are some definite problems with Simple Membership when you wanted more advanced security features and if it was anything more than "simple" you ended up creating your own security solution. I am moving forward with ASP.NET Identity because it much more extensible than Simple Membership and although the documentation and support is weak right now I believe it will get better as it matures, just like Simple Membership did. If you can get past the growing pains I believe ASP.NET Identity will be a far better solution than Simple Membership was and I like the tight integration with OWIN, which will be important going forward. As for email verification with ASP.NET Identity, here is an article that describes how to implement this. You can get complete source code here. And the solution described here also provides password reset with ASP.NET Identity.

    0 讨论(0)
  • 2020-12-08 01:45

    As for me, they are all quite far from being perfect. Check these out:

    • The good, the bad and the ugly of ASP.NET Identity

    • Think twice about using MembershipProvider (and SimpleMembership).

    So I prefer to use MembershipReboot.

    EDIT: (May 2018). Brock Allen of MembershipReboot has the following, to say on the Project site.

    As of 2017 MembershipReboot will no longer be maintained. It has served its purpose, and ASP.NET Identity has finally caught up (and surpassed) this library in terms of security and functionality. If you are interested in taking over maintenance, let me know.

    0 讨论(0)
提交回复
热议问题