Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

SERVICE in UserControl

$
0
0

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!

 


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>