How to add Web API to an existing ASP.NET MVC 4 Web Application project?
Asked 07 September, 2021
Viewed 961 times
  • 62
Votes

I wish to add an ASP.NET Web API to an ASP.NET MVC 4 Web Application project, developed in Visual Studio 2012. Which steps must I perform to add a functioning Web API to the project? I'm aware that I need a controller deriving from ApiController, but that's about all I know.

Let me know if I need to provide more details.

9 Answer