address="http://localhost:53931/WCF/Service1.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_Service1" contract="ServiceReference.Service1" name="BasicHttpBinding_Service1" /> what we need to provide in contract attribute?Loading

Munesh SharmaPosted Apr 11, 2014, 1:22 AM
1) A contract attribute in the endpoint element of a config file:
<endpoint address="https://ie-services-configuration.ServiceProvider.com"
binding="customBinding" bindingConfiguration="customBinding_Configuration" contract="MyCompany.MyProject.ServiceProvider_configuration_Ref.ConfigurationServicePortType"
name="ConfigurationServiceHttpPort" />
2) And ConfigurationName property of a ServiceContract attribute in a proxy code. It usually generated byAdd Service Reference wizard and placed in a hidden file the Reference.cs
and for information go to Shweta Lodha link
Shweta LodhaPosted Apr 10, 2014, 12:02 PM
http://www.codeproject.com/Articles/29485/WCF-for-Beginners