Sync Framework and Windows 8 Metro / WinRT

Answered Sync Framework and Windows 8 Metro / WinRT

  • 9 sierpnia 2012 12:39
     
     

    Anyone working on converting the Sync Framework to WinRT?

    I have been for a few days.  I'm concerned about the file locking.  There's no way to lock the cache in WinRT due to the "sandbox" limitations.  The Synch Framework uses open streams to lock the cache. 

    Is this absolutely required if you're synchronizing calls occur in sequence?

    I've removed the multi-threaded model that used AsyncOperation entirely because I don't need it.

    There's also a Timer job that runs and removes duplicate files.  I'm not sure why this is necessary also.


    Michael

Wszystkie odpowiedzi

  • 10 sierpnia 2012 06:15
    Moderator
     
     
    Sync Framework or Sync Framework Toolkit you mean?
  • 10 sierpnia 2012 16:41
     
     
    Sync Framework Toolkit. Sorry.

    Michael

  • 18 września 2012 12:08
     
     

    Webermi, I was wondering whether you had made any progress on porting the SF toolkit to WinRT. 

    I'm asking this because I'm looking into syncing data from a server to my WinRT app and so far I've yet to find anything compatible.

  • 19 września 2012 01:56
    Moderator
     
     
    out of curiousity, what storage are you looking at using for WinRT? SqlLite, Windows Storage, etc????
  • 19 września 2012 08:06
     
     
    out of curiousity, what storage are you looking at using for WinRT? SqlLite, Windows Storage, etc????
    I'm currently using SQLite.
  • 16 listopada 2012 20:12
     
     

    I saw on a Build presentation  http://channel9.msdn.com/Events/Build/2012/3-120. 

    That will be a sync provider for WinRT, can we know more info about this?

  • 17 listopada 2012 01:33
    Moderator
     
     
    afaik, the sample is not from the Sync Fx team. but that sample uses the Sync Framework Toolkit, modified to work on WinRT and SQLLite.
  • 25 listopada 2012 08:17
     
     
    Any idea when they will release, I don't need a certain date, just  Q4-2012, Q1-2013, other?
  • 13 grudnia 2012 11:59
     
     

    Hi June,

    Thanks for the information.

    Does they are going to release the new toolkit to support WinRt and Windows 8? Or it is already available?

    I watch the video and thought to have look at the toolkit but the Sync Framework 4.0 October 2010 CTP was not available.

  • 14 grudnia 2012 09:14
    Moderator
     
     Proponowana odpowiedź

    by Sync Fx CTP 4, he actually meant the Sync Framework Toolkit.

    afaik, they're going to release a "sample" that works with SQLLite on WinRT. am assuming the same source code from toolkit that's modified to work on WinRT. Not necessarily releasing a new version of the toolkit itself.

    you can use the existing Sync Fx or Sync Toolkit on Windows 8, just not on WinRT. 

  • 20 grudnia 2012 17:36
     
     

    Hi,

    Does the Sync Framework Toolkit work with windows phone 8 with sql server CE (not SQLite)?

    I downloaded the toolkit and out of the box it was unable to compile in VS 2012...

    If not, then what would be the recommended solution to synchronizing data from a local windows phone 8 DB to a remote sql server db?


  • 26 grudnia 2012 14:10
    Moderator
     
     Proponowana odpowiedź

    the toolkit needs some changes to compile in .NET 4.5.

    the toolkit itself contains a sample SQL CE sync provider. you can use that as a starting point to write a new one that works with WP8.

  • 9 stycznia 2013 15:12
    Moderator
     
     Odpowiedz

    just did a blog post on this, you might want to check it out http://jtabadero.wordpress.com/2013/01/09/synchronizing-winrtsqlite-using-sync-framework-toolkit/

    would appreciate feedback...

    cheers,

    junet

  • 26 lutego 2013 12:50
     
     Proponowana odpowiedź

    I have made a CodePlex sample based on Sync Fx Toolkit for WinRT and SQLite

    You can check explanations here : http://blogs.msdn.com/b/mim/archive/2013/02/19/synchronization-with-sqlite-on-winrt.aspx

    And the Codeplex project : https://syncwinrt.codeplex.com/

    It's a sample, provided as is. If you have any questios, you can post here or on Codeplex


    Sébastien Pertus. Bewise