You can create ASP.NET MVC controllers and views in the Web API project itself. Just inherit your controller from the Controller
class (in System.Web.mvc).
If you create a new Web API project (with VS 2012, MVC4) you can see that you have both a normal MVC controller (HomeController) and an API Controller (ValuesController) in it.
- MVC Controllers must inherit from
Controller
class which isSystem.Web.Mvc
- API Controllers must inherit from
ApiController
class which isSystem.Web.Http