Thursday, February 21, 2008

 

With the release of Visual Studio 2008 we also get v1.0 of ADO.NET Synchronization Services that allows you to build Occasionally Connected Applications by allowing synchronization of remote data with a local cache of the data. Sync Services is the first part of the larger framework still in development: Microsoft Sync Framework (MSF). MSF was part of the announcements at Tech Ed Europe 2007. The first CTP of the Sync Framework is available and it includes a pre-release of v2.0 of Sync Services for ADO.NET. Stay tuned on the Sync Framework blog (which includes links to other relevant blogs down the side). I also believe there will be an update near the SQL Server 2008 release, but I am not sure. There is a very useful FAQ on Sync Services on Steve's blog.

To be clear, here I am still talking about v1 of Sync Services, which ships with VS2008 RTM. If you do not have VS2008, you can still get Sync Services by downloading SQL Compact Edition v3.5 (which is what holds the local cache). Included in the download are the 3 assemblies that complete the picture. So you may be thinking: "if I can get it as a standalone download, why use VS2008 and not stick with VS2005?". The answer is that there is a very smart Configure Data Synchronization dialog wizard as part of VS2008 that generates tons of code and also performs other actions that IMO are too tedious for easily using VS2005 with Sync Services. To invoke the wizard in a new VS2008 project (v2.0 or v3.0 or v3.5) right click on the project node and add new item and choose the "Local Data Cache" item template – then just follow your nose (or the documentation and numerous links above ;-))

If you want a quick intro then put 15 minutes aside to watch my screencast introducing the ADO.NET Sync Services. The Visual Studio project that I create in the video can be downloaded here.

Labels:


Comments:
As always, that's just great Daniel! Thanks for this quick kickstart.

 
_________________

arnaud: "quick kickstart" is my middle name - glad you liked it :-D

 
_________________

Does the audio work for the screencast? I'm getting the video but wonder if there is an audio part to the screencast.

Thanks!

chris

 
_________________

Chris: Audio is supposed to work. Does it fail for you for both the streaming video and the download in the ZIP? They are encoded differently so this might help narrow it down to a codec issue on your machine...

 
_________________

If it might help, I couldn't hear the audio when watching the screencast with VLC. With Windows Media Player it works fine though. The same was true with the TechEd post-conference DVD (MS wants you to use MS ;-) ).

 
_________________

Howdy,

I'm trying to get it to work from the download (although I did try streaming after installing Silverlight but never got anything working on that end). Currently, I'm upgrading from Windows Media Player 10 to 11 (still on XP). I'll repost if that fixes it.

 
_________________

Post a Comment



« Latest Posts

Copyright © Daniel Moth