emmanuel
emmanuel

Reputation: 23

WCF WebHttpServiceHostFactory vs. WebServiceHostFactory

What is the difference between WCF's WebHttpServiceHostFactory and WebServiceHostFactoryhosting?

Upvotes: 2

Views: 1328

Answers (1)

carlosfigueira
carlosfigueira

Reputation: 87238

Assuming that you're talking about the HttpServiceHostFactory from the new WCF Web API - http://wcf.codeplex.com/SourceControl/changeset/view/44d95f912edf#WCFWebApi%2fHttp%2fSrc%2fMicrosoft.ApplicationServer.Http%2fmicrosoft%2fApplicationServer%2fHttp%2fActivation%2fHttpServiceHostFactory.cs - this factory sets up the service / endpoint using the new HTTP pipeline for WCF (which is on codeplex). The WebServiceHostFactory sets up a service / endpoint using the "traditional" WCF REST style API (i.e., the one which was released with .NET Framework 3.5 and improved in 4.0).

Upvotes: 2

Related Questions