-
Book Overview & Buying
-
Table Of Contents
ASP.NET Web API Security Essentials
By :
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 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 inheriting IdentityUser. Let's define a custom entity framework class with application-specific properties for user, such as first name and last name. We also need to define a db context that will handle the communication with the database...
Change the font size
Change margin width
Change background colour