如何在Windows Metro风格应用程序+ VS2012中调用WCF服务功能 [英] How to call wcf service function in Windows metro style app + VS2012

查看:94
本文介绍了如何在Windows Metro风格应用程序+ VS2012中调用WCF服务功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我的解决方案中有两个项目.
1. Windows Metro Style应用程序和2. Wcf应用程序.我已在Windows Metro Style应用程序中添加了WCF服务项目参考.

现在,我想在单击按钮时在Metro应用程序中调用wcf服务功能.
您能建议如何实现吗?

在此先感谢.

Hello ,

I am having two projects in my solution.
1. Windows Metro Style App and 2. Wcf App. I have added WCF service project reference in Windows Metro Style App.

Now I want to call wcf Service function in metro app on button click.
Could you please suggest how to achieve this ?

Thanks in Advance.

推荐答案

阅读以下内容: ^ ]
Read the following : http://bhrnjica.net/2011/09/26/consuming-wcf-in-windows-8-metro-style-app/[^]


这篇关于如何在Windows Metro风格应用程序+ VS2012中调用WCF服务功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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