Con risposta Sync Framework and Windows 8 Metro / WinRT

  • יום חמישי 09 אוגוסט 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

כל התגובות

  • יום שישי 10 אוגוסט 2012 06:15
    מנחה דיון
     
     
    Sync Framework or Sync Framework Toolkit you mean?
  • יום שישי 10 אוגוסט 2012 16:41
     
     
    Sync Framework Toolkit. Sorry.

    Michael

  • יום שלישי 18 ספטמבר 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 ספטמבר 2012 01:56
    מנחה דיון
     
     
    out of curiousity, what storage are you looking at using for WinRT? SqlLite, Windows Storage, etc????
  • יום רביעי 19 ספטמבר 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 נובמבר 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 נובמבר 2012 01:33
    מנחה דיון
     
     
    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 נובמבר 2012 08:17
     
     
    Any idea when they will release, I don't need a certain date, just  Q4-2012, Q1-2013, other?
  • יום חמישי 13 דצמבר 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 דצמבר 2012 09:14
    מנחה דיון
     
     הצעה לתשובה

    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 דצמבר 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?


    • נערך על-ידי MikeRowlands יום חמישי 20 דצמבר 2012 17:37
    •  
  • יום רביעי 26 דצמבר 2012 14:10
    מנחה דיון
     
     הצעה לתשובה

    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.

  • יום רביעי 09 ינואר 2013 15:12
    מנחה דיון
     
     תשובה

    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 פברואר 2013 12:50
     
     הצעה לתשובה

    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