What are the Possible Ways of Hosting a WCF Service?

Technology CommunityCategory: WCFWhat are the Possible Ways of Hosting a WCF Service?
VietMX Staff asked 3 years ago

For a Windows Communication Foundation service to host, we need at least a managed process, a ServiceHost instance and an Endpoint configured. Possible approaches for hosting a service are:

  1. Hosting in a Managed Application/Self Hosting
    • Console Application
    • Windows Application
    • Windows Service
  2. 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.