The latest Identity Framework 2.0 comes with new features. Compared to ASP.NET Identity Framework 1.0 that uses 128 char string as user ID, Framework 2.0 you can make primary key integer or whatever we like. In this article, we are going to change primary key data type from string to int.
First, create a MVC project using Visual Studio 2013 update 2.
Then create and change all identity and classes.
After that, change account controller to work with new primary key.
Identity 2 is great as it comes with plenty of useful thins, but the default identity system may not be compatible with most applications. This article will help you better understand Identity 2.0.
View the tutorial here:Â http://www.codeproject.com/Articles/777733/ASP-NET-Identity-Change-Primary-Key