How to Add Web API to existing ASP.NET Web Forms Project ?

In one of the previous posts , we saw how to add the WebAPI to the existing ASP.NET MVC project. Well , the process of adding the ASP.NET Web API to the existing ASP.NET Web Forms project is still the same.

You can easily do that by installing it from NuGet.

Open the Package Console Manager in Visual Studio 2015 and run the following command.

Install-Package Microsoft.AspNet.WebApi

%d