locked
Transfer and store only needed changes. RRS feed

  • Question

  • Hi.

    Im using Sync 2.1..

    And I'm synchronizing large XML files ower WCF, witch work "pretty" good however It's synchronizing the entire XML file.

    Lets say I have an XML file 500 rows and im updating 1 row in one replica it stills send the whole text 500rows.?

    Can anyone point me in the right direction if its possible with MSF to just transfer the single updated line in the XML file? and how do I know exactly what nodes in the XML that where updated(so I can store the raw Change) ?

    Can MSF do any of this functionality or do I need to handle the diff between the XML files myself?

    Edit: all XML files are dynamic

      

     


    • Edited by Labrinth1 Sunday, February 16, 2014 6:42 PM
    Sunday, February 16, 2014 5:00 PM

All replies

  • if you're using the file sync providers, Sync Fx doesn't really care/really know what's in the file or what has changed. all it tracks is that it changed.

    if it's a database you're synching, then you would only sync incremental changes or rows that changed.

    Monday, February 17, 2014 3:19 AM
  • Thanks for your answer, its filesync so I will handle the diff in the file myself :)
    Tuesday, February 18, 2014 6:50 PM