Sync Framework Samples

Microsoft Sync Framework installs a set of samples designed to illustrate various concepts and features of Sync Framework. The samples use C# and assume a basic familiarity with .NET coding practices. The samples cover many concepts, such as how to write an application that synchronizes data by using the database synchronization providers that are included with Sync Framework, or how to write a simple custom provider to synchronize a custom data store, or how to write a standard custom provider that uses Windows Communication Foundation (WCF) to synchronize data between replicas on different computers.

Nota de seguridadNota de seguridad

The sample code is provided to illustrate a concept. Because the samples might not use the safest coding practices, the code should not be used in applications or Web sites. Microsoft assumes no liability for incidental or consequential damages if the sample code is used for purposes other than as intended.

Samples Location

The files for samples are located where Sync Framework is installed. On an x86 platform, the x86 installation package installs the samples to C:\Program Files\Microsoft SDKs\Microsoft Sync Framework\2.1\Samples\. Other combinations of platform and installation package may yield slight variations on the installation path.

Additional samples can be found online at the Sync Framework Code Gallery.


To build and run the samples, the following software must be installed:

  • Microsoft Visual Studio 2005 or Visual Studio 2008 

  • Microsoft .NET Framework 2.0 or .NET Framework 3.0 

Vea también


Microsoft Sync Framework