Microsoft Sync Framework / Sync SQL Azure to Windows Phone?
-
2012年4月26日 16:54
I have read in detail the articles of using a middle tier in Windows Azure to sync a SQL Azure database with SQLServerCE thus providing a means to have a "sometimes connected" app. Client to Windows Azure uses WCF. Middle tier (web roles to worker(s) via Service bus / queues. Worker communicates to Azure. I believe each client can maintain a "sync parternship" to retrieve recent changes.
Can this technique also be employed from within a Windows Phone 7.x app? Any articles or videos on this topic? I know SQLServerCE is new to Mango and haven't seen many new articles on this topic.
If so, is this a viable approach given that you may have tens of thousands of users? Given the scalability of Azure it would make sense but want to make sure I am going down the right path.
Ultimately, I am actually looking for a means to allow my phone to sync with my desktop/notebook. I'd like both to use the Sync framework so they can work offline (e.g. no phones or in airplane mode...).
This seems like a really good solution.
Ed
すべての返信
-
2012年4月26日 17:58モデレータ
-
2012年4月26日 23:31回答者:
You can't install Sync Framework itself on the WP7 device, so your best option will be the Sync Framework Toolkit (http://code.msdn.microsoft.com/Sync-Framework-Toolkit-4dc10f0e) which is specifically designed for clients that can't have the full Sync Framework runtime (SL, WP, iPhone, Android, HTML5). the server side component of the toolkit remains running on Sync Framework though. You can deploy the Sync Service in Azure as well (it's a WCF service).
if am not mistaken, there's a sample there for using SQL CE, but you might have to port it to WP7 as the WP7 samples uses Isolated Storage.
- 回答の候補に設定 Stephanie LvModerator 2012年5月3日 8:47
- 回答としてマーク Challen FuModerator 2012年5月7日 9:11

