在智能设备和wcf服务之间同步对等体 [英] Syncing peer-peer between a smart device and a wcf service

查看:142
本文介绍了在智能设备和wcf服务之间同步对等体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景:

< span style ="font-family:'Times New Roman','serif'; font-size:10pt">我有一个运行紧凑框架v3.5的智能设备,它上面有一个本地的sdf数据库文件。

我还有一个带有本地sdf的桌面/服务器运行WCF服务的数据库文件。

同步框架是v2。

同步需要从它与服务器之间的智能设备。

示例我已经看到需要使用会话,这些会话在WCF服务上的basicHttpBinding上不受支持,但这是智能设备的唯一类型e确实支持。

我该如何解决这个问题问题,以便智能设备可以使用WCF与服务器同步?

推荐答案

我遇到与上述相同的问题。链接中的示例是使用服务器/客户端设置。

I am having the same issues as above. The example in the link is using a server/client setup.

我们想要做的是类似于OCA图(http://i.msdn.microsoft.com/bb887608.Figure4(en-us).png )显示在""同步框架数据库同步简介"

What we want to do is similar to the OCA diagram (http://i.msdn.microsoft.com/bb887608.Figure4(en-us).png) shown in "Introduction to Sync Framework Database Synchronization".

这是最左边的服务器(包含.sdf数据库)和手持的通信。此同步只会从手持到服务器,而不必通过WCF,这似乎是明显的选择。

It is the communication between the left most server (containing an .sdf database) and the hand held. This sync will only ever be from the hand held to the server and doesn't have to be over WCF, this just seemed like the obvious choice.


这篇关于在智能设备和wcf服务之间同步对等体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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