WPF使用WCF服务
问题描述:
HI,
你能帮我解决一下如何发布使用wcf服务的wpf应用程序。
该应用程序包括读取web上存在的app_data文件夹上的文本文件。
非常感谢
电子邮件删除[/编辑]
哈基姆
Can you help me for how can i publish wpf application consuming wcf service.
The application consist to read text file on app_data folder existing in the web.
Thank you very much
E mail removed[/Edit]
Hakim
答
当你试图将不相关的WCF和WPF混合在一起时,看起来你需要接受关注点分离的想法:
http://en.wikipedia.org/wiki/Separation_of_concerns [ ^ ]。
另请参阅我对该问题的评论。
所有你需要的是消耗WCF服务:
http://msdn.microsoft.com/en-us/library/bb332338.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/bb226529%28v=bts.20%29。 aspx [ ^ ]。
祝你好运,-SA
As you are trying to mix together unrelated WCF and WPF, it looks like you need to embrace the idea of separation of concerns:
http://en.wikipedia.org/wiki/Separation_of_concerns[^].
Please also see my comment to the question.
All you need to lean is consumption of WCF services:
http://msdn.microsoft.com/en-us/library/bb332338.aspx[^],
http://msdn.microsoft.com/en-us/library/bb226529%28v=bts.20%29.aspx[^].
Good luck,—SA