user55474
user55474

Reputation: 537

WCF http activation without IIS

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. (any solution other than self hosting or windows service) thanks Ben

Upvotes: 0

Views: 742

Answers (1)

Anas Karkoukli
Anas Karkoukli

Reputation: 1342

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

Upvotes: 1

Related Questions