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

There are times when you might want to add Web API project to one of your existing ASP.NET MVC project instead of creating a new one.

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

You can easily do that by installing it from NuGet.

Simply open the Package Console Manager and run the following command.

Install-Package Microsoft.AspNet.WebApi

%d