从Windows Phone 8使用WCF服务 [英] Consuming WCF Service from Windows Phone 8

查看:182
本文介绍了从Windows Phone 8使用WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我写了一个WCF服务,它使用nettcp来回调客户端。我现在正在寻找写一个电话客户端,但我很难找到使用相同服务实现电话回叫样式功能的最佳方法。任何人都可以帮助或指出我正确的方向吗?



我尝试了pollingDuplexHttpBinding,但是当我更新服务参考时,我在VS中遇到Silverlight 3兼容性错误。



问候,



Jib

Hi all,

I've written a WCF service that uses nettcp for callbacks to the client. I'm now looking at writing a phone client, but am having trouble finding the best way to achieve callback style functionality to the phone, using the same service. Can anyone help or point me in the right direction?

I've tried pollingDuplexHttpBinding, but I get Silverlight 3 compatibility errors in VS when I "update the Service Reference".

Regards,

Jib

推荐答案

检查:

如何使用Windows Phone的OData服务 [ ^ ]

在Windows Phone应用程序中使用WCF服务 [ ^ ]

这是针对wp7的,但你试试吧:

使用WCF服务创建使用数据的Windows Phone 7应用程序 [< a href =http://www.c-sharpcorner.com/uploadfile/urmimalapal/creating-a-windows-phone-7-application-consuming-data-using-a-wcf-service/\"target =_ blank title =新窗口> ^ ]
Check:
How to consume an OData service for Windows Phone[^]
Consuming WCF service in Windows Phone Application[^]
This is for wp7, but you have a try with it :
Creating a Windows Phone 7 Application Consuming Data Using a WCF Service[^]


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

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