What are different elements of WCF Srevices Client configuration file?

 Posted by Poster on 3/31/2009 | Category: WCF Interview questions | Views: 13726
Answer:

WCF Services client configuration file contains endpoint, address, binding and contract. A sample client config file looks like

<system.serviceModel>

   
<client>

     
<endpoint name = "MyEndpoint"

         
address  = "http://localhost:8000/MyService/"

         
binding  = "wsHttpBinding"

         
contract = "IMyContract"

     
/>

   
</client>

</system.serviceModel>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response