WCF WebHttpServiceHostFactory 与 WebServiceHostFactory

发布于 2024-11-04 09:47:30 字数 104 浏览 2 评论 0原文

WCF 的 WebHttpServiceHostFactoryWebServiceHostFactoryhosting 之间有什么区别?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小梨窩很甜 2024-11-11 09:47:30

假设您正在讨论新的 WCF Web API 中的 HttpServiceHostFactory - http://wcf.codeplex.com/SourceControl/changeset/view/44d95f912edf#WCFWebApi%2fHttp%2fSrc%2fMicrosoft.ApplicationServer.Http%2fmicrosoft%2fApplicationServer%2fHttp%2fActivation%2fHttpServiceHostFactory.cs - 该工厂使用 WCF 的新 HTTP 管道(位于代码复合体)。 WebServiceHostFactory 使用“传统”WCF REST 样式 API(即随 .NET Framework 3.5 发布并在 4.0 中改进的 API)设置服务/端点。

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文