I'm trying to follow these instructions for building with ASP.NET Web API and MVC 3, but am running into a problem around Step 4 tring to add this line:
routes.Add(new ServiceRoute("api/contacts", new HttpServiceHostFactory(), typeof(ContactsApi)));
The issue seems to be around the HttpServiceHostFactory
; I don't have the proper reference. The related namespace is Microsoft.ApplicationServer
, which I cannot find on my machine at all. I've installed AppFabric to no avail. Any idea where I can find this, and why it wasn't installed along with Web API?