top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the different elements of WCF Services Client Configuration File?

+3 votes
295 views
What are the different elements of WCF Services Client Configuration File?
posted May 5, 2016 by Jdk

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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>
answer May 25, 2016 by Manikandan J
...