Tuesday, October 6, 2015

Identity Framework Basic

Identity Framework

Asp.net team has introduce new Identity Framework which replaced the old membership framework.Identity has more features then before.

In Today's world everyone want to authenticate web using third party social services like Facebook,Twitter and LinkedIn.Using Identity you can easily integrate third party social login into your web applications.

Before start learning features of Identity install the sample project using below command

PM> Install-Package Microsoft.AspNet.Identity.Samples -Pre 

In sample project they have given all basic things like login/logout/Forgot Password/Email Confirmation and all other basic things.

Identity Features


  • Account Lockout: Using Identity we can configure the account lockout attempt so after failed attempt user account is locked for certain period. We can configure the duration and also we can set the how many time user can try.
  • Account Confirmation: ASP.NET Identity allows us to confirm the account by confirming the email of the user. 
  • Two-Factor Authentication via email or SMS messaging, functionally similar to that used by Google, Microsoft, and others.We can also enable/disable this 2FA after login.  I will discuss more about two factor later on.
  • Improved support for Social log-ins. We can easily integrate third party logins in our web application. I will explain more on this with example 
Below are the main component of Identity
  1. User 
  2. Role
  3. User Manager
  4. Role Manager
  5. Authentication Manager
  6. Entity Framework DBContext
I will explain more in separate blog about each and every feature with example.









No comments:

Post a Comment