I created a Web API project under VS 2010. After I switched to VS 2012, I always get a warning:
The Web project \'xxx\' requires SQL Server Express, whcih
It was created by Visual Studio to you. The reason is Web API projects are a sub class of MVC projects. And actually, Web API project can contain both: a web application and Web API itself.
As far as this project is a sub class of an MVC project you get all this extra features.
You can delete all that extra stuff as far as you don't need it. The things you can delete also:
In WebConfig:
You probably would also want to delete
NuGet packages:
Everything except razor, MVC, Web Api packages like:
In Solution Explorer:
But be cautious, because after that deletion you won't be able to add Web API Help page for example (which describes your API).