Setting up ASP.NET Identity 2.1

We have created an empty Web API and installed the necessary NuGet packages for ASP.NET Identity and Open Web Interface for .Net (OWIN). Now let's add the required class files to integrate ASP.NET Identity into Web API.

ASP.NET Identity

ASP.NET Identity is a framework provided by Microsoft that was created on top of OWIN middleware to manage user identity and membership in ASP.NET applications such as Web Forms, MVC, and Web API. We are going to use the ASP.NET Identity system to register and manage identity users using the in-built domain model for identity user called IdentityUser. If you are planning to have extra properties in your application, then you would need to create a domain model with extra properties ...

Get ASP.NET Web API Security Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.