How do I sync dynamically generated files from a WCF service to a device's storage?
-
sexta-feira, 11 de dezembro de 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
- Movido Max Wang_Chinasoft terça-feira, 19 de abril de 2011 22:48 Forum consolidation (From:SyncFx - Technical Discussion [ReadOnly])
Todas as Respostas
-
terça-feira, 22 de dezembro de 2009 06:23Moderador
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.- Sugerido como Resposta Adrian Mustea - MSFTMicrosoft Employee terça-feira, 29 de dezembro de 2009 19:12
- Marcado como Resposta Sid Singh [MSFT]Microsoft Employee, Moderator segunda-feira, 4 de janeiro de 2010 22:58