1.

What Are Different Elements Of Wcf Srevices Client Configuration File?

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>

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>



Discussion

No Comment Found