I add a Service host on IIS in my WPFUserControl.
When i drag the WPFUserControl in MyWPFApplication, VStudio write this error:
"
Could not find default endpoint element that references contract 'ServiceReference1.IService1' 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.
"
I try to copy the endpoint in App.config of Application but does not work!
Can you help me ?
Thanks!