Introduction

The Sync Framework Toolkit extends the Sync Framework capabilities for building offline applications, making it easier to expose data for synchronization to applications running on any client platform.  Sync Framework 2.1 required clients to be based on Windows. This toolkit allows other Microsoft platforms to be used for offline clients such as Silverlight, Windows Phone 7, and Windows Mobile; in addition non-Microsoft platforms such as iPhone, Android, and Blackberry can be utilized as well as HTML.

The Sync Framework Toolkit provides all the features enabled by the Sync Framework 4.0 October 2010 CTP. We are releasing the toolkit as source code samples on MSDN with the source code utilizing Sync Framework 2.1.  Source code provides the flexibility to customize or extend the capabilities we have provided to suit your specific requirements. The client-side source code in the package is released under the Apache 2.0 license and the server-side source code under the MS-LPL license.

Please follow the section "Building the sample" to extract the package and build the solutions.

We will keep the forum used for Sync Framework V4 CTP available for community discussion and community support.

Building the sample

The Sync Framework Toolkit package includes source code for the toolkit, please extract the .zip file under the folder: "c:\syncopensrc" and rename the C# folder to the name "src". To compile the source code, follow the steps described below:

  1. Install Windows Phone Developer Tools 7.0 if it is not already installed.
  2. Install Silverlight 4 Tools for Visual Studio 2010 if it is not already installed.
  3. Start Visual Studio 2010.
  4. Open syncfxtoolkit.sln solution in Visual Studio.
  5. Build the solution, which will generate the following files:
    • syncopensrc\bin\SyncSvcUtil.exe
    • syncopensrc\bin\SyncSvcUtilUI.exe
    • syncopensrc\server\Microsoft.Synchronization.Services.dll
    • syncopensrc\Client\WP7\Microsoft.Synchronization.ClientServices.dll
    • syncopensrcClient\Silverlight\Microsoft.Synchronization.ClientServices.dll
  6. Move the folder "Samples" from "c:\syncopensrc\src\Samples" to "c:\syncopensrc\Samples".

Now you are ready to follow the documentation and start writing your sync service and offline applications using the source code.

(If you have trouble opening the chm file, try right-clicking, properties and unblock it. Don't forget to rename the "C#" folder to "src" because it could cause problem when opening the chm due to the # symbol in the path.)