WPF使用WCF服务 [英] WPF consume WCF service

查看:75
本文介绍了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


这篇关于WPF使用WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆