Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the best way of hosting WCF service in various situation?

user-image
Question added by Javed Ahmad , Senior Developer , HCL Technologies Ltd
Date Posted: 2017/05/09
sarbajit majumder
by sarbajit majumder , SENIOR ASSOCIATE , COGNIZANT TECHNOLOGY SOLUTIONS

 

IIS Hosting – This is most widely used to host wcf services, its supports all the inbuilt features of IIS hosting features.

WAS Hosting - Hosting a WCF service in Windows Activation Service (WAS) is most advantageous because of its features such as process recycling, idle time management, common configuration system, and support for HTTP, TCP, etc.

Self-Hosting - It requires a developer to write the requisite coding for ServiceHost initialization. Maninly we host WCF service in the form of a console application in our application server.

 

Windows Service Hosting - For local system clients, it is best to host WCF service as a window service and this is known as Window Service Hosting. All the versions of Windows support this type of hosting and here, the Service Control Manager can control the process lifecycle of the WCF service.

 

More Questions Like This