Welcome to MSDN Blogs Sign in | Join | Help

Sample - SQL Express Client Synchronization using Sync Services for ADO.NET

We have just posted a new sync sample to our Code Gallery that demonstrates how to enable offline data collection applications to synchronize a SQL Express client database to another SQL Server database using the Synchronization Services for ADO.NET library.  In this scenario, SQL Express client databases can be used as client databases to a central ADO.NET enabled database.  Unlike the existing peer-to-peer synchronization SQL Express provider sample which you may have seen, this sample is optimized for a hub-and-spoke topology.

In this sample, two tables (orders and order_details) are on the server database and also on the local client database.  The sample synchronizes edits to these table to keep their data identical.
This sample demonstrates:

  • Using SQL Express to cache changes for a client application.
  • A customized SQLExpressClientSyncProvider class that wraps around Microsoft.Synchronization.Data.Server.DbServerSyncProvider.

I would like to point out that even though we have done a fair amount of testing in house with this sample, it is still only posted as a sample.  In the future we certainly plan of including a fully supported version of a SQL Express client provider within a future release of Sync Services for ADO.NET. 

With that, we certainly want to hear your feedback on this sample and please feel free to post comments to our Sync Services for ADO.NET forum.

Liam Cavanagh

Published Tuesday, June 24, 2008 5:40 PM by liamca

Comments

# Announcing availability of a new Sync sample - SQL Express Client Synchronization using Sync Services for ADO.NET

Tuesday, June 24, 2008 4:06 PM by Mahjayar's WebLog.

We have released a new sample on our Sync code gallery site that demonstrates use of Sql Express database

# Announcing availability of a new Sync sample - SQL Express Client Synchronization using Sync Services for ADO.NET

Tuesday, June 24, 2008 4:06 PM by Mahjayar's WebLog.

We have released a new sample on our Sync code gallery site that demonstrates use of Sql Express database

# Sync Provider for SQL Express

Tuesday, June 24, 2008 11:00 PM by Kok Kiet's Blog

Microsoft has released Sync Framework couple months ago, enable offline data collection applications...

# SQL Express Client Synchronization

Tuesday, June 24, 2008 11:21 PM by Sergey Zwezdin

Пример еще одного из сценариев реализации синхронизации и offline-enabled прилож

# Cliente SQL Server Express para Sync Services para ADO.NET

Wednesday, June 25, 2008 5:34 AM by desarrolloMobile.NET

Acaban de anunciar, en el blog del equipo de desarrollo de MS Sync Framework , un ejemplo (en CodePlex

# SQL Express Client Sample seems to only work for Bidirection

Friday, August 01, 2008 5:45 PM by rgmust95

I am in the process of making an engine that will sync between sql 2008 server and sql 2008 express.

The sample has worked great ... but when i do "download only" it doesn't apply the changes.

It recognizes what to change.. it just doesn't apply them.

Any ideas??

Thanks,

Roger

Anonymous comments are disabled
 
Page view tracker