Share via


Sync Framework 2.1 Available for Download

Sync Framework 2.1 is available for download.

Sync Framework 2.1 includes all the great functionality of our 2.0 release, enhanced by several exciting new features and improvements. The most exciting of these lets you synchronize data stored in SQL Server or SQL Server Compact with SQL Azure in the cloud. We’ve added top customer requests like parameter-based filtering and the ability to remove synchronization scopes and templates from a database, and of course we’ve made many performance enhancements to make synchronization faster and easier. Read on for more detail or start downloading now!

SQL Azure Synchronization

With Sync Framework 2.1, you can leverage the Windows Azure Platform to extend the reach of your data to anyone that has an internet connection, without making a significant investment in the infrastructure that is typically required. Specifically, Sync Framework 2.1 lets you extend your existing on premises SQL Server database to the cloud and removes the need for customers and business partners to connect directly to your corporate network. After you configure your SQL Azure database for synchronization, users can take the data offline and store it in a client database, such as SQL Server Compact or SQL Server Express, so that your applications operate while disconnected and your customers can stay productive without the need for a reliable network connection. Changes made to data in the field can be synchronized back to the SQL Azure database and ultimately back to the on premises SQL Server database. Sync Framework 2.1 also includes features to interact well with the shared environment of Windows Azure and SQL Azure. These features include performance enhancements, the ability to define the maximum size of a transaction to avoid throttling, and automatic retries of a transaction if it is throttled by Windows Azure. All of this is accomplished by using the same classes you use to synchronize a SQL Server database, such as SqlSyncProvider and SqlSyncScopeProvisioning, so you can use your existing knowledge of Sync Framework to easily synchronize with SQL Azure.

Bulk Application of Changes

Sync Framework 2.1 takes advantage of the table-valued parameter feature of SQL Server 2008 and SQL Azure to apply multiple inserts, updates, and deletes by using a single stored procedure call, instead of requiring a stored procedure call to apply each change. This greatly increases performance of these operations and reduces the number of round trips between client and server during change application. Bulk procedures are created by default when a SQL Server 2008 or SQL Azure database is provisioned.

Parameter-based Filtering

Sync Framework 2.1 enables you to create parameter-based filters that control what data is synchronized. Parameter-based filters are particularly useful when users want to filter data based on a field that can have many different values, such as user ID or region, or a combination of two or more fields. Parameter-based filters are created in two steps. First, filter and scope templates are defined. Then, a filtered scope is created that has specific values for the filter parameters. This two-step process has the following advantages:

  • Easy to set up. A filter template is defined one time. Creating a filter template is the only action that requires permission to create stored procedures in the database server. This step is typically performed by a database administrator.
  • Easy to subscribe. Clients specify parameter values to create and subscribe to filtered scopes on an as-needed basis. This step requires only permission to insert rows in synchronization tables in the database server. This step can be performed by a user.
  • Easy to maintain. Even when several parameters are combined and lots of filtered scopes are created, maintenance is simple because a single, parameter-based procedure is used to enumerate changes.

Removing Scopes and Templates

Sync Framework 2.1 adds the SqlSyncScopeDeprovisioning and SqlCeSyncScopeDeprovisioning classes to enable you to easily remove synchronization elements from databases that have been provisioned for synchronization. By using these classes you can remove scopes, filter templates, and the associated metadata tables, triggers, and stored procedures from your databases.

SQL Server Compact 3.5 SP2 Compatibility

The Sync Framework 2.1 SqlCeSyncProvider database provider object uses SQL Server Compact 3.5 SP2. Existing SQL Server Compact databases are automatically upgraded when Sync Framework connects to them. Among other new features, SQL Server Compact 3.5 SP2 makes available a change tracking API that provides the ability to configure, enable, and disable change tracking on a table, and to access the change tracking data for the table. SQL Server Compact 3.5 SP2 can be downloaded here.

For more information about Sync Framework 2.1, including feature comparisons, walkthroughs, how-to documents, and API reference, see the product documentation.

Download Sync Framework 2.1 today and find out what synchronization can do for you!

Comments

  • Anonymous
    August 18, 2010
    Can you give us any idea of when we might see OData Sync?

  • Anonymous
    August 19, 2010
    Is there anything in the Sync Framework 2.1 that benefits non-SQL sync scenarios? We're currently using the Sync Framework 2.0 to sync between a FileSyncProvider and a custom FullEnumerationSimpleSyncProvider. Are there any benefits to upgrading to 2.1? The release notes seem to only mention features that are for SQL sync scenarios. Are there any general performance improvements or bug fixes?

  • Anonymous
    August 24, 2010
    Does the Sync Framework 2.1 have any new implementations regarding the Sync between SQL Server and SQL Express using the Change tracking feature of SQL Server 2008?

  • Anonymous
    August 27, 2010
    I'd like to see synchronization Framework upgraded to Framework 4.0 and SQL CE 4. I am glad although to at least see some movement in the Synchronization Framework group as I was almost starting to think that the framework had died. The forums and even these comments go unanswered these days!

  • Anonymous
    August 29, 2010
    Does the Sync Framework 2.1 have any new implementations regarding the Sync between SQL Server and SQL Express using the Change tracking feature of SQL Server 2008? please can you reply to this question by @Ismail.

  • Anonymous
    September 14, 2010
    same as @Ismail and @Lookman??? Change Tracking support?

  • Anonymous
    October 04, 2010
    will this sync a local sql express db to a sql azure db?

  • Anonymous
    October 06, 2010
    Please reply to the question posted by Ismail on 25 Aug 2010 12:37 AM

  • Anonymous
    December 03, 2010
    What Frame Work is used to download aPrinter

  • Anonymous
    December 03, 2010
    What Frame Work is used to download a Printer

  • Anonymous
    February 02, 2014
    ihack