Question - What are the requirements for hosting a WCF service?
Answer -
You need at least a managed process, a ServiceHost instance and an Endpoint configured for hosting a WCF service.
Following are the possible approaches for hosting a service:
o Hosting in a Managed Application/ Self Hosting:
o Console Application
o Windows Application
o Windows Service
o Hosting on Web Server
o IIS 6.0 (ASP.NET Application supports only HTTP)
o Windows Process Activation Service (WAS) i.e. IIS 7.0 supports HTTP, TCP, NamedPipes, MSMQ.