How do I sync dynamically generated files from a WCF service to a device's storage?
-
2009년 12월 11일 금요일 오전 5: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
- 이동됨 Max Wang_Chinasoft 2011년 4월 19일 화요일 오후 10:48 Forum consolidation (From:SyncFx - Technical Discussion [ReadOnly])
모든 응답
-
2009년 12월 22일 화요일 오전 6:23중재자
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.- 답변으로 제안됨 Adrian Mustea - MSFTMicrosoft Employee 2009년 12월 29일 화요일 오후 7:12
- 답변으로 표시됨 Sid Singh [MSFT]Microsoft Employee, Moderator 2010년 1월 4일 월요일 오후 10:58