开发者

WP7 Callbacks From WCF

开发者 https://www.devze.com 2023-01-27 05:52 出处:网络
I\'m working on a project that relies heavily on communication between multiple WP7 devices.I wanted to use WCF callback contracts to create a subscribe/unsubscribe architecture for my services howeve

I'm working on a project that relies heavily on communication between multiple WP7 devices. I wanted to use WCF callback contracts to create a subscribe/unsubscribe architecture for my services however I have recently found out that I can't use wsDualHttpBinding on Windows Phone 7 but only basicHttpBinding.

Can anyon开发者_JAVA技巧e suggest any approaches using basicHttpBinding which might allow for a similar approach?


You could always use Push Notifications to send the data to the phone (the other option would be polling the server at a predetermined interval which would kill battery life on the device).


You could look at using (raw) Push Notifications to tell the app that there is a new message on the server to retrieve.

0

精彩评论

暂无评论...
验证码 换一张
取 消