【发布时间】:2013-11-05 19:29:24
【问题描述】:
我使用 WCF DataService 创建了一个 winforms 应用程序。
应用程序在 Visual Studio IDE 中运行,但不是从 debug.exe 运行
在我的 app.config 我有这个端点:
<client>
<endpoint address="http://localhost:8733/Design_Time_Addresses/DataService/Service1/"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService1"
contract="ServiceReference1.IService1" name="BasicHttpBinding_IService1" />
</client>
当我从 exe 运行应用程序时,我收到消息:
“没有端点监听
http://localhost:8733/Design_Time_Addresses/DataService/Service1
可以接受消息。”
如何在机器上部署服务以便exe可以找到它?
【问题讨论】:
标签: .net winforms wcf visual-studio-2012 deployment