WCF Self Hosting in a Console Application Simplified


Simple step by step approach to create and self host a WCF Service in a console application.


  • Total Hits - 34122

  • Total Votes - 18 votes

  • Vote Up - 9 votes

  • Vote Down - 9 votes

  • Domain - www.topwcftutorials.net

  • Category - ASP.Net/ASP.Net Misc

  • Submitted By - Imran Ghani

  • Submitted on - 2014-07-02 03:17:18


In order to host a Windows Communication Foundation Service, we normally need a managed process, a ServiceHost instance and an endpoint configured forWCF Service.We can host aWCF Service in following different possible ways:
1. Hosting in a Managed Application/ Self Hosting
>>>Console Application
>>>Windows/WPF 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.

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.


Broken  |   Save  |   Liked  |   Down