Does anyone have an example of how to use MS Sync framework with .NET webservices? I have SQL Server 2008, which is exposing data to BlackBerry devices through webservices using regular web methods. Can I use the Sync Framework to expose data through Web Services and to save it back to the database?
views:
328answers:
1
A:
As far as I understand your question, you wish to syncronize two relational databases via a web service. The Sync Framework supports this scenario, as described in the documentation.
I wrote a couple of posts based on my own limited experience with this scenario:
Mark Seemann
2010-03-16 18:46:43
No, a BlackBerry with Persistent Object storage is on on end and it communicates with a SQL Server 2008 DB through a webservice.
DanG
2010-03-16 20:01:01
You can still use the Sync Framework even for non-relational data destinations, but not the ADO.NET Sync Services (they are different aspects of the same overall package). However, that is a lot more work. In any case you must be able to execute the Sync code on the device, so you must be able to run either .NET (CF) or COM code there.
Mark Seemann
2010-03-16 22:29:23
I can't run any .NET code on a BlackBerry. Ideas?
DanG
2010-03-18 11:01:07
If you can run COM code, you can use that instead. Otherwise, you can't use the Sync Framework, unless you can reverse the direction and make the device a server and the service the client. The sync framework doesn't push, it pulls, so you need a host for the pulling code.
Mark Seemann
2010-03-18 11:12:54