In case of Service Model of WCF
What is the role of Service Host?
Service Model
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 17, 2011, 11:14 PM EST
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
Priya LingeRank #785 · 2.9K reputationPosted Nov 17, 2011, 11:19 PM EST
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.
Prashant ChaudharyRank #1,151 · 1.6K reputationPosted Nov 18, 2011, 1:34 AM EST