Compartilhar via


Announcing Sync Framework 4.0 October 2010 CTP

We are extremely happy to announce the availability of Sync Framework 4.0 October 2010 CTP. To learn more about this release please take a look at our PDC session recording "Building Offline Applications using Sync Framework and SQL Azure".

The Microsoft Sync Framework 4.0 October 2010 CTP is built on top of Sync Framework 2.1 and it extends the Sync Framework capabilities of building offline application to any client platform that is capable of caching data. The release enables synchronization of data stored in SQL Server/SQL Azure over an open standard network format by a remote synchronization service handling all sync specific logic. Moving all synchronization logic off the client enables clients, which do not have the Sync Framework runtime installed, to cache data and participate in a synchronization topology. Earlier versions of Sync Framework required Windows systems with Sync Framework runtime installed on them as clients. This CTP allows other Microsoft platforms such as Silverlight, Windows Phone 7, and Windows Mobile and non-Microsoft platforms such as HTML5, iPhone, Android and other devices with no Sync Framework runtime installed on them as clients.

The major new features included in this CTP are:

  • Protocol: In this release, we apply the principles of OData to the problem of data-sync and add synchronization semantics to the protocol format. Clients and the service use the protocol to perform synchronization, where a full synchronization is performed the first time subsequently followed by smaller incremental synchronization. The protocol is designed with the goal to make it easy to implement the client-side of the protocol and all the synchronization logic will be running on the service side. It is intended to be used to enable synchronization for a variety of sources including, but not limited to, relational databases and file systems.
  • Server and Client Components: The release includes server components that make it easy for you to build a synchronization Web service that exposes data from SQL Server or SQL Azure via the Sync protocol. The CTP release includes client component’s that make it easy for you to build offline applications on Silverlight for desktop and Windows Phone 7 platforms.
  • SyncSvcUtil.exe utility: The release includes a command-line tool, SyncSvcUtil.exe, which helps you with defining and developing sync services and clients.
  • Business Logic Extensibility on Server: The release allows you to plug in to the synchronization runtime on the service and enable custom business logic configuration using SyncInterceptors.
  • Diagnostic Dashboard: The release supports a diagnostic dashboard to diagnose the health of the deployed sync services.
  • Samples and Tutorials: The CTP ships with samples that include a sample service exposing a ToDo list data model as a synchronization service. It also ships the Silverlight, Windows Phone 7, Windows Mobile 6.5 and HTML5 clients that synchronize with the service to show you how to use the components and the protocol. The documentation for CTP contains tutorials, which walk you through creating and consuming a sync service that you can deploy to an on-premise Windows Server or Windows Azure.

The following features will be available in few weeks after PDC10 as a refresh to this release. We will keep you updated on this release on Sync Framework forums and Sync Framework Blog. (Update on 11/16, we just refreshed the bits with the two new features!)

  • Tooling Wizard UI: This adds a UI wizard on top of the command line based SyncSvcUtil utility. This wizard allows you to select tables, columns, and even rows to define a sync scope, provision/de-provision a database and generate server-side/client-side code based on the data schema that you have. This minimizes the amount of code that you have to write yourself to build sync services or offline applications.

  • iPhone Sample: This sample shows you how to develop an offline application on iPhone/iPad with SQLite for a particular remote schema by consuming the protocol directly.

For more details please visit

(In this release we decided to bump the version of all binaries to 4.0, skipping version 3.0 to keep the version number consistent across all components in the release.)

Comments

  • Anonymous
    November 09, 2010
    Where is the "Download" button for Microsoft Sync Framework 4.0 October 2010 CTP ?

  • Anonymous
    November 09, 2010
    jwinata, The download link at www.microsoft.com/.../details.aspx has a "Download Instructions.mht" file that has information on the actual download. We did this to collect some feedback on usage scenarios and requirements for users so we can better plan the feature set for the final release of 4.0

  • Anonymous
    November 16, 2010
    This extension to the Sync Framework is really cool, and answers an obvious gap around maintaining local data for Silverlight applications and synchronising that with server side data stores. It exaclt answers a need I have for a project I am architectiung currently. I do have a couple of questions though...

  1. Assuming a master detail relationship between two tables on the server side, if I create a new master record and several linked detail records on the client (where the tables are exposed as IEnumerable lists), does the sync make use of transactions on the server? Is it even valid, or a requirement?
  2. What about security on the client. The synchronised data is serialised to Local Storage, where presumably it is potentially liable to be compromised. I am designing a Wages application which is capable of working offline (out-of-browser), and I don't want employees to be able to browse through my Local storage and view how much others are paid. How can I secure or encrypt the Local Storage data without affecting the synchronisation capability?
  • Anonymous
    January 04, 2011
    Is it true that a sole purpose of the Sync Framework is to support Silverlight? Also if thats true and, if Microsoft's strategy in Silverlight has shifted so that it's going to be more focused in media players and Mobile devices then is the Sync Framework also mostly for media  players and mobile devices?

  • Anonymous
    January 19, 2011
    The comment has been removed

  • Anonymous
    March 04, 2011
    The comment has been removed

  • Anonymous
    March 15, 2011
    Hi, We have WPF client application talking with remote server running WCF Data Service. Since Sync Framework 4.0 CTP supports WCF Data Service as it supports ODATA protocol. Let us know where to find the samples for the same.

  • Anonymous
    March 22, 2011
    Hi, can someone show how to sync local sql compact 3.5 (winform) with a remote WCF DATA SERVICE, using this new CTP?

  • Anonymous
    June 06, 2011
    A winform example would be useful. There are still windows forms developers out here please dont forget us.

  • Anonymous
    August 21, 2011
    Indeed i couldn't find a "normal" non-async example for a WinForms app. Is there any?

  • Anonymous
    July 24, 2012
    can we connect this into diffrent database Oracle /MY SQL?

  • Anonymous
    July 30, 2012
    @Suminda - you will have to build your own provider.

  • Anonymous
    June 20, 2014
    all links to download the ctp are dead