I've started with my ASP.NET Web API development and an important part of the design is security. I did a lot of research and found that the Token Based Authentication is they way forward for my API. With more research I've came across Token Based Authentication using ASP.NET Web API and Owin middle-ware. This post will explain how to install the Owin NuGet Packages needed for the Owin middle-ware development.The first step is to create an ASP.NET Web API Project using Visual Studio. Follow the below link on how to create the project:
Now that you have an ASP.NET Web API Project, we can installed the Owin NuGet Package using Visual Studio:
Open Visual Studio, open the Tools menu item and click on the Extensions and Updates menu item, the following screen will open:
Now to find the package, expand the Online tree node, then type in Owin in the search box on the top right hand corner and click on the seach button. The following results will display:
Click on OWIN ASP.NET WebAPI SPA Template and click on Download
When the download is complete, click on the Install button:
Now that the installation the package is done on our ASP.NET Web API Project, we can use Microsoft.Owin reference that will enable us to use the Owin server to run our API on Internet Information Services (IIS).
Wednesday, August 03, 2016




: