-
Book Overview & Buying
-
Table Of Contents
ASP.NET Web API Security Essentials
By :
Let's create an empty Web API to integrate ASP.NET Identity. Follow the given steps:
Create New Project from the Start page in Visual Studio.
Select Visual C# Installed Template named Web.
Select ASP.NET Web Application in the center pane.
Name the project ContactLookupWithAspNetIdentity and click on OK:

Fig 1 – We have named the ASP.NET Web Application as ContactLookupWithAspNetIdentity
Select the Empty template in the New ASP.NET Project dialog.
Check Web API and click OK under Add folders and core references:

Fig 2 – Select ASP.NET Web API template for Application "ContactLookupWithAspNetIdentity"
The solution of the empty Web API that is created generates the following files:

Fig 3 – Solution structure of empty ASP.NET Web API Application "ContactLookupWithAspNetIdentity"
Change the font size
Change margin width
Change background colour