In case of Service Model of WCF
What is the role of Service Host?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prashant ChaudharyPosted Nov 18, 2011, 6:34 AM
Priya LingePosted Nov 18, 2011, 4:19 AM
The WCF service model involves the use of proxy classes to invoke operations on a target service or to receive operations from a client.
The proxy class used to receive an operation from a client is called a WCF service contract class.
This class models an operation exposed by your code as a callback method with strongly-typed parameters. You can then host an instance of this class
in a System.ServiceModel.ServiceHost to enable a client to invoke the operation on your code. By using the WCF service model and a WCF service contract
class targeted to the POLLINGSTMT operation, you can receive the results of a polling query from the SAP adapter.
Please check below link.
http://en.csharp-online.net/WCF_Essentials%E2%80%94Host_Architecture
Hope this will help you.
Thanks.
Satyapriya NayakPosted Nov 18, 2011, 4:14 AM
Windows Communication Foundation (WCF) Service Host (WcfSvcHost.exe) allows you to launch the Visual Studio debugger (F5) to automatically host and test a service you have implemented.
Please refer the below link
http://msdn.microsoft.com/en-us/library/bb552363.aspx
Thanks