Getting started with asp.net-identity

Download asp.net-identity eBook

Remarks

This section provides an overview of what asp.net-identity is, and why a developer might want to use it.

It should also mention any large subjects within asp.net-identity, and link out to the related topics. Since the Documentation for asp.net-identity is new, you may need to create initial versions of those related topics.

ASP.NET Identity Basic information

ASP.NET identity is a membership management system which allows a user to register and login into a web application. ASP.NET identity system can be used in entire ASP.NET framework, like ASP.NET MVC, Web Forms, Web Pages, Web API and SignalR. ASP.NET identity can be used when people are building a web application, mobile application, store application and even in a hybrid application.

ASP.NET identity system also support external login providers like Microsoft Account, Facebook, Google, Twitter and others. Developer have to just provide your API key and API secret for your external login provider and "It just works".

To install ASP.NET identity service in your application add the NuGet package from Nuget Package Manager or from Package Manager Console.

Package Name : Microsoft.AspNet.Identity.Core

Now, Create a new Web Application in visual studio with individual User Accounts.

In visual studio, select File -> New -> Project then from left pane select Web and then from right pane select ASP.NET Web Application.

New Project

Click ok and from next window select MVC and then click ok.

Select Project

After project created successfully check out the references in solution explorer. You will find three Nuget package reference as shown in below image.

References

Now run the application and register an account to application and login.

To explore the login functionality open Startup.Auth.cs from solution explorer to get basic information about how login and register mechanism works.

As ASP.NET Identity is a very large topic so we can describe it only in basic information. For more information you can go to ASP.NET Identity website.

Installation or Setup

Detailed instructions on getting asp.net-identity set up or installed.

Stats

61 Contributors: 2
Wednesday, October 5, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook