How can an API controller be added to a project with existing MVC (non-API) controllers?
Problem:
I've created a very basic "hello world" MVC project with only one model, view, and controller. When I attempt to add the API controller (not using scaffolding), I can't get using System.Web.Http;
to show in IntelliSense. using System.Web
will show up, but the .Http
part is not available. What do I need to do or change?
Details:
I'm using VS2013 Express on a Win7 machine.