I am not sure why the default project comes with so much junk, but it looks fairly easy to create a minimal project.
http://stackoverflow.com/questions/12412163/minimum-files-needed-to-deploy-webapi-server-side On Fri, Feb 1, 2013 at 9:39 AM, Greg Keogh <[email protected]> wrote: > I thought I'd generate a fresh Web API project from the template to see > what it looks like, and I eventually find it under ASP MVC 4. I do so and > get 143 files in 20 folders. There are scripts, images, cshtml files, style > sheets and lord knows what. What is all this sh*t just to make a http > service? > > I expected to get a concise little project with some skeleton files but I > get this gigantic schmozzle. Are you telling me that a Web API project is > wrapped-up inside the circus of the ASP MVC framework? > > Am I expected to delete all the irrelevent files and strip it back to a > simple service without a UI, or is there a simpler way of creating a Web > API project from scratch? > > Greg > > P.S. Silverlight still works best with WCF. You could make http requests > from Silverlight, but it's all typeless. I'm not sure if there is some > trick to make them work together more pleasantly. >
