开发者

WCF http activation without IIS

开发者 https://www.devze.com 2023-04-10 08:58 出处:网络
Is it possible to enable HTTP components for WCF without installing IIS. When i try to enable the HTTP components on windows server 2008 it forces me to enable the web server components.

Is it possible to enable HTTP components for WCF without installing IIS. When i try to enable the HTTP components on windows server 2008 it forces me to enable the web server components. Is there a workaround by not installing webserver.开发者_如何学JAVA (any solution other than self hosting or windows service) thanks Ben


WCF services can be hosted in any managed .NET application, not only IIS. You can either host it inside a windows service, or create a standard .NET executable to host the service (self-hosting). You can configure your end point to http eventhough the WCF is hosted outside IIS.

Check this article for more insight:

Hosting and Consuming WCF Services

0

精彩评论

暂无评论...
验证码 换一张
取 消