开发者

Folder Synchronzation

I have to implement kinda important feature. The feature for one-way synchronization of folders. There's a cloud server with folders of documents. An开发者_如何学JAVAd i need to synchronize some Windows folder with the structure and the documents of this remote folder.

The application is written in WPF, using MVVM (galasoft mvvm light toolkit). The job for syncing must be periodical (it must work every 5|10|100 etc minutes, depending on the user's properties). Of course it must be asynchronous.

I have three questions about it:

  1. What are the best practices of implementing such a syncing job? Should i write it as a service of some structure or what?
  2. How can i handle the periodicity of this job?
  3. How can i vizualize in the system tray, that the job is on (can i use some circular progress bar on the icon of my app in the tray?)?

Thanks in advance, people!


You could use the Microsoft Sync Framework with its File Synchronization Provider.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜