Microsoft Sync Framework Samples
Microsoft Sync Framework is a comprehensive synchronization platform that enables collaboration and offline access for applications, services, and devices with support for any data type, any data store, any transfer protocol, and any network topology.
For more information about Sync Framework, see the Sync Framework Developer Center This resource page includes a number of samples that demonstrate the features and capabilities of Microsoft Sync Framework 2.0.
Sync101 Samples
This set of samples illustrates various concepts and features needed to synchronize a custom data store. The samples cover many concepts, from how to write a basic synchronization application that uses simple custom providers, to more complex scenarios, such as how to write a standard custom provider that uses Windows Communication Foundation (WCF) to synchronize data between replicas on different computers.
| Sync101 with Simple Providers | Shows how to synchronize replicas by using the Sync Framework simple provider API. This API gives developers a lot of the power and flexibility of the core Sync Framework APIs, but with less of a learning curve and less code, especially for replicas that have little or no change-tracking support. |
| Sync101 with Metadata Storage Service | Shows how to use a standard custom provider to synchronize data between replicas. Uses the metadata storage service to store synchronization metadata, which greatly simplifies the synchronization process. |
| Sync101 with Change Units | Shows how to use a standard custom provider to partition items into change units so that when only part of an item changes, only the changed part is sent during synchronization. |
| Sync101 with Constraint Conflicts | Shows how to use a standard custom provider to report and resolve constraint conflicts that occur because of name collisions when changes are applied. |
| Sync101 with Custom Metadata Store | Shows how to use a standard custom provider to synchronize data between replicas. Uses a custom metadata store to show all of the details of the synchronization process. |
| Sync101 with Change Unit Filtering | Shows how to use a change unit filter with a standard custom provider to send only a subset of the change units defined for the synchronization scope. |
| Sync101 with Custom Filtering | Shows how to track custom filters and how to use a standard custom provider to send changes from a filter-tracking replica to two different filtered replicas. |
| Sync101 with Remote Change Application over WCF | Shows how to implement a proxy provider that uses the remote change application (RCA) pattern to synchronize over WCF with a provider on a remote computer. |
Database Synchronization Provider Samples
This set of samples illustrates how to use database synchronization providers to synchronize between SQL Server databases and SQL Server Compact databases.
| Database Sync: SQL Server and SQL Server Compact | Shows how to use database synchronization providers to configure and execute peer-to-peer synchronization between a SQL Server database and one or more SQL Server Compact databases. |
| Database Sync: Peer-to-Peer over WCF | Shows how to use database synchronization providers to configure and execute peer-to-peer synchronization between a SQL Server database and one or more SQL Server Compact databases by using a remote WCF service. |
File Synchronization Provider Sample
| File Synchronization Provider Sample | This sample illustrates how to use the file synchronization provider, a fully functioning provider that helps an application to synchronize files and folders in NTFS, FAT, and SMB file systems. |
| File Sync with Simple Custom Provider Sample | This sample demonstrates how to write a simple custom synchronization provider and use it to synchronize data with the file synchronization provider. |
Samples for Other Versions of Sync Framework
Please send all comments to the Sync Framework Forum as this page is not regularly monitored: http://social.microsoft.com/Forums/en-US/category/sync
|