Search code examples
c#wcfwcf-binding

What are the various methods of hosting a WCF service?


What are the various methods of hosting a WCF service?


Solution

  • There are four common ways, all of which are outlined nicely on MSDN: Hosting WCF Services.

    1. Hosting in IIS.
    2. Hosting in WAS.
    3. Hosting in a Windows service.
    4. Hosting in an application (aka "self-hosting").