An update to “Remote File Sync using WCF and MSF”
- Written by Boris Drajer
- Published in Synchronization Framework
This is a follow-up to Bryant Likes’ post where he gave a prototype solution for file synchronization over WCF. I converted the code to Microsoft Sync Framework 2.0 so now it compiles and seems to run well enough. But you have to keep in mind that it isn’t a complete example (it wasn’t that in the original code either): it only does upload sync, it doesn’t have any conflict resolution logic etc. It is my opinion that this is not really worth pursuing any further, because one would need to develop two complete custom providers - and all that (just for copying files?) when there’s an existing FileSyncProvider in the framework which knows how to cooperate with other providers so it should be able to communicate over WCF… On the other hand, if you do pull the heroic act of completing this code, please let me know because I’m (obviously) very interested in it. I tried to keep the modified code as close to the original as possible so that a simple diff (e.g. WinMerge) can show what I’ve done, because I’m not sure I got it all right (as I’m afraid Bryant wasn’t, too).
Here’s the complete solution: http://www.8bit.rs/download/samples/RemoteSync converted to MSF 2.0.zip
17 comments
-
Hello CINUE,
May I get the copy of download sync?
suraj.dotmark@gmail.com -
Can you give me the complete project?
here is my email: hnguyen0828@gmail.com -
please send me your full project with both download and upload. Thanks a lot!
hnguyen0828@gmail.com -
Hello, Please send me your code
-
Hello, Please send me your code
-
My e-mail is:
Pullance at hotmail.com -
Hello CINUE,
I know its been a while but would you mind sending me a copy of your code that includes Download Sync.
It would be very much appreciated.
Many Thanks
Paul -
Hello, CINUE
Please send me a copy to my e-mail: grizaksu@gmail.com
I will be very grateful -
Hi,CINUE
Pls send me a copy! -
my email is kumaranlife@gmail.com