What are the possible ways of hosting a WCF service? Explain.
What are the possible ways of hosting a WCF service? Explain.
Answer
For a Windows Communication Foundationservice to host, we need at least a managed process, a ServiceHost instanceand an Endpoint configured. Possible approaches for hosting a service are:
Hosting in a Managed Application/ Self Hosting
Console Application
Windows Application
Windows Service
Hosting on Web Server
IIS 6.0 (ASP.NET Application supports only HTTP)
Windows Process Activation Service (WAS) i.e. IIS 7.0 supports HTTP, TCP, NamedPipes, MSMQ.
If you are looking for implementation of all Hosting options, please follow here (Console | Windows Service | IIS | WAS)
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website