Can I use Sync Framework with web service.! RRS feed

  • Question

  • Hi

    I am developing a wpf application on which data is consumed through a web service develop by java team, and java code will run on Linux Box.

    Can we use the Sync Framework in this scenario?

    If yes, what will be the Cost.?



    Thursday, January 20, 2011 12:37 PM

All replies

  • Sync Fx is used for synchronizing replicas of data. is that what you need where your WPF has local copy of data that synchronizes with another copy on the Linux box?
    Thursday, January 20, 2011 2:09 PM
  • My actual data will be at java server running on linux machine and wpf client intreact with data only with the web service created at java end. Local data will be cache at client side, maybe in file system , or in object cache.
    Thursday, January 20, 2011 5:28 PM
  • Hi Nikhil,


    Firstly, Sync Framework is free to download and use, so there is no cost involved.

    Would there be any data changed/generated on the WPF client that would need to be uploaded to the Java/Linux end ? or you are always downloading changes from the Java side onto the WPF side ?

    The data that you are trying to sync, what sort of data is this - is it relational data, file data or some other sort ?

    To detect and package changes (delta) from the WPF side, you can use sync framework (you'll have to write non-trivial amount of code). However, do you have the ability to detect and package the changes from the Java/Linux end ?

    If you have, and you'd like to use the SyncFX, you could architect a solution around these lines:

    http://msdn.microsoft.com/en-us/library/ee819079.aspx : you'd have a remote proxy provider work intermediate between provider from the WPF side and the linux on the other side. Your remote proxy provider would need to store all the data and metadata from the Java side and pretend to WPF side that it's SyncFX end point on Windows. You could also do something like this with Custom Simple Sync provider more or less.

    Basic crux of the matter is that for data on both end points, Sync FX needs metadata prepared by SyncFX to be able to detect and package deltas from either side to send to the other side. Please check this is feasible for you before you commit to developing a Sync FX solution.

    ANother data point for you is SyncFX 4.0 CTP - it can sync SQL Server/WCF central server with windows and non-Windows clients for relational data only. But since your central data seems to be on Java/Linux (and not sure it's relational either), it may not be what you could use.

    Hope this clarifies.




    Thursday, January 20, 2011 7:46 PM