How do I sync dynamically generated files from a WCF service to a device's storage?
-
Freitag, 11. Dezember 2009 05:30Hi,
I'm quite new to Sync Framework, but I have quite a challenging task at hand...
I need to find a way to sync XML files (that are generated dynamically by a service) to a remote Windows Mobile device over a 3G connection. The files should then be saved on the remote device.
I understand that I should use a FileSyncProvider as the destination provider on the client side (ie. the mobile device), but I have NO idea how to implement a custom provider that will enable me to send files from the server as a remote provider. I am also very unsure of how to change the transport layer for the remote provider to use a web service/WCF instead of communicating locally.
Could someone point me in the right direction? Is Sync Framework the right tool for doing this?
Kind Regards,
Johann de Swardt
- Verschoben Max Wang_Chinasoft Dienstag, 19. April 2011 22:48 Forum consolidation (From:SyncFx - Technical Discussion [ReadOnly])
Alle Antworten
-
Dienstag, 22. Dezember 2009 06:23Moderator
There is a code sample here that can help you:
http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=sync&ReleaseId=3592
The Sync Framework will help you with the synchronization aspects - you will have to write the provider, which means you will have to take care of the transport and the WCF stuff. Once you go through the Sync Framework documentation and samples, you will have a better idea of the things the Sync Framework will help you with.- Als Antwort vorgeschlagen Adrian Mustea - MSFTMicrosoft Employee Dienstag, 29. Dezember 2009 19:12
- Als Antwort markiert Sid Singh [MSFT]Microsoft Employee, Moderator Montag, 4. Januar 2010 22:58