Web API without web pages

Topics: ASP.NET Web API
Jun 6, 2012 at 3:37 PM


I would like to run my Web Api just as a data and invoke service, I have no need for serving up web pages, as it will be consumed from a Metro app. However, it seems when you install the NuGet packages (recent RC version) the dependencies are such that you need to install a lot of web page related stuff that you really don't need for Web API support alone.

Will there be NuGet packages and/or project templates targeted just at Web API support?



Jun 6, 2012 at 3:53 PM

The Web API nuget packages have no dependency on web pages:


If you want you can start with an Empty MVC 4 application and then just add the Web API nuget package.

Daniel Roth