Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Migrate ASP.NET Membership Authentication to ASP.NET Identity 2.1 (MVC5)

$
0
0

Hello Guys,

We are planning to migrate ASP.NET membership to ASP.NET Identity could you provide any best solution as i have tried couple of example as below but none of them worked, I am using MVC 5

Example 

http://travis.io/blog/2015/03/24/migrate-from-aspnet-membership-to-aspnet-identity.html

http://kosmisch.net/Blog/DotNetEssential/Archive/2015/2/1/aspnet-membership-default-password-hash-algorithms-in-net-4x-and-previous-versions.html

http://www.asp.net/identity/overview/migrations/migrating-an-existing-website-from-sql-membership-to-aspnet-identity

Always failed below line

String.Equals(EncryptPassword(providedPassword, passwordformat, salt), passwordHash, StringComparison.CurrentCultureIgnoreCase)

Could anyone provide complete working example please with MVC5

Thanks in Advance

Shabbir


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>