What are the various ways of hosting a WCF service? - .NET WCF

What are the various ways of hosting a WCF service?

Ways of hosting WCF Service

1. Self hosting:
The service code is embedded within the application code. An end point for the service is defined and an instance of ServiceHost is created. A method can be written then to call the service.

2. Managed Windows services:
Here, some hosting code is written in the application code. It consists of registering the application domain as a windows service.

3. Internet Information Services:
Does not require any hosting code to be written in the application code. IIS host services can only use HTTP transport mechanism. IIS needs to be installed and configured on the server.

4. Windows process activation service:
Does not require any hosting code to be written in the application code. WAS needs to be installed and configured on the server. WCF uses the listener adapter interface to communicate activation requests. Requests are transported over non HTTP protocols.
Explain transactions in WCF. - .NET WCF
Transactions in WCF allow several components to concurrently participate in an operation...
What are the various programming approaches for WCF? - .NET WCF
Programming approaches for WCF - Imperative, Configuration based, Attributes....
What are the advantages of hosting WCF services in IIS? - .NET WCF
Advantages of hosting WCF services in IIS - Provides process activation and recycling ability thereby increasing reliability......
Post your comment