Quote:Could not find default endpoint element that references contract 'IData' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
<system.serviceModel> <bindings> <netTcpBinding> <binding name="NetTcpBinding_IData"> <reliableSession inactivityTimeout="01:00:00" enabled="true" /> </binding> </netTcpBinding> </bindings> <client> <endpoint address="net.tcp://localhost:8182/" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IData" contract="IData" name="NetTcpBinding_IData"> <identity> <userPrincipalName value="xxx@xxx.com" /> </identity> </endpoint> </client> </system.serviceModel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)