<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Microsoft Sync Framework : SQL Azure</title><link>http://blogs.msdn.com/sync/archive/tags/SQL+Azure/default.aspx</link><description>Tags: SQL Azure</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to Synchronize Multiple Geographically Distributed SQL Server Databases using SQL Azure Data Sync</title><link>http://blogs.msdn.com/sync/archive/2009/12/14/how-to-synchronize-multiple-geographically-distributed-sql-server-databases-using-sql-azure-data-sync.aspx</link><pubDate>Mon, 14 Dec 2009 16:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9936598</guid><dc:creator>liamca</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/sync/comments/9936598.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sync/commentrss.aspx?PostID=9936598</wfw:commentRss><description>&lt;P&gt;Imagine that you want to have multiple copies of the same SQL Server databases located in different locations around the country or even around the world. Those SQL Server databases could exist in your headquarters, subsidiaries, retail stores, and even in your remote offices.&amp;nbsp; Currently, to accomplish this, there are a number of really great technologies to help you use on-premises software that you manage.&amp;nbsp; Some examples of this include Merge Replication and Sync Framework database providers (previously known as Sync Services for ADO.NET).&amp;nbsp; The most common concern that we hear with these technologies is the difficulty of getting the system up and running quickly and the complexity of the management requirements.&amp;nbsp; Quite often it requires working with IT to open holes in the corporate firewall and setting up web servers to host the synchronization logic.&amp;nbsp; What I would like to show you is an alternate way that you can accomplish this, by using a technique that removes the need to configure corporate firewalls or to install and configure web services.&amp;nbsp; With this technique you can take virtually any SQL Server database and share it with other users via Windows Azure.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;To get started let’s begin by looking at a very basic example.&amp;nbsp; Imagine a company we will call Fabrikam that has a SQL Server in their New York headquarters.&amp;nbsp; They would really like to make an exact copy of that SQL Server database and make it available in their London subsidiary. Down the road they will also want to put one in their Tokyo office.&amp;nbsp; Fabrikam wants to be able to have the database local to each of these locations to remove any latency issues.&amp;nbsp; Ultimately, there will be users that make changes to both of these databases, so periodic synchronization will need to take place to move changes to and from each of these locations.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;One of the ways that this can be accomplished is through the use of &lt;A title="SQL Azure" href="http://www.microsoft.com/windowsazure/sqlazure/" target=_blank mce_href="http://www.microsoft.com/windowsazure/sqlazure/"&gt;SQL Azure&lt;/A&gt; and in particular &lt;A title="SQL Azure Data Sync" href="http://www.microsoft.com/windowsazure/developers/sqlazure/datasync/" target=_blank mce_href="http://www.microsoft.com/windowsazure/developers/sqlazure/datasync/"&gt;SQL Azure Data Sync&lt;/A&gt;.&amp;nbsp; SQL Azure is a fully managed relational database in the cloud.&amp;nbsp; This database is built on SQL Server technologies.&amp;nbsp; Using SQL Azure Data Sync, we can easily solve the first half of Fabrikam's problem, in that we can set up synchronization from their existing New York database and synchronize it to a SQL Azure database.&amp;nbsp; All of this can be done without any specific configuration to the corporate firewall (other than outbound only access on port 1433) and without the need to set up web services.&amp;nbsp; This is because SQL Azure Data Sync sets synchronization up within the SQL Server as a SQL Agent process that periodically pushes changes to and from the SQL Server and SQL Azure databases.&amp;nbsp; Since it makes outbound calls to the public SQL Azure database service there is no need to open holes in the corporate firewall.&amp;nbsp; The first part of the architecture looks like this:&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 401px; HEIGHT: 190px" title="Sync to SQL Azure" alt="Sync to SQL Azure" src="http://blogs.msdn.com/photos/sync/images/9936599/original.aspx" width=401 height=190 mce_src="http://blogs.msdn.com/photos/sync/images/9936599/original.aspx"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a really good walkthrough document on how to set this up here: &lt;A title="Microsoft Sync Framework Power Pack Walkthrough" href="http://go.microsoft.com/fwlink/?LinkID=168920&amp;amp;clcid=0x409" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkID=168920&amp;amp;clcid=0x409"&gt;Microsoft Sync Framework Power Pack for SQL Azure&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The provisioning tool to set up synchronization between SQL Server and SQL Azure does not currently have support to extend this to other SQL Server databases.&amp;nbsp; However, Sync Framework, which powers SQL Azure Data Sync, does have the capability to support a number of databases, so although this scenario can not be configured automatically through the tool, with a little manual effort we can enable it as seen below.&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 500px; HEIGHT: 159px" title="SQL Server Synchronization" alt="SQL Server Synchronization" src="http://blogs.msdn.com/photos/sync/images/9936600/500x159.aspx" width=500 height=159 mce_src="http://blogs.msdn.com/photos/sync/images/9936600/500x159.aspx"&gt;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;The first things we need to do are to back up the New York SQL Server database and restore it on the London server.&amp;nbsp; Next, since each database that is part of the synchronization ecosystem has unique attributes assigned to it, we will need to “reset” the synchronization state.&amp;nbsp; To do this we will use the &lt;A title=SQLSyncStoreRestore href="http://msdn.microsoft.com/en-us/library/microsoft.synchronization.data.sqlserver.sqlsyncstorerestore_members(SQL.105).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/microsoft.synchronization.data.sqlserver.sqlsyncstorerestore_members(SQL.105).aspx"&gt;SqlSyncStoreRestore&lt;/A&gt; (Sync Framework) class to update the synchronization metadata for the remote endpoint by calling the PerformPostRestoreFixup method.&amp;nbsp; After this you will be able to synchronize the London database as well.&lt;BR&gt;In order to try to keep things a little simpler, I have included a simple C# command line application that allows you to do the SqlSyncStoreRestore against the copied database.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;To create this application, you will need to build a C# Visual Studio Project using the following 4 steps:&lt;BR&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open Visual Studio and choose: File | New | Project | Visual C# | Console Application.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;After the project is created, add a reference to Microsoft.Synchronization.Data.SqlServer.&amp;nbsp; To do this, within the Solution Explorer right click on Properties | Add Reference | Browse, and enter: C:\Program Files\Microsoft Sync Framework\2.0\Runtime\ADO.NET\V3.0\x86\Microsoft.Synchronization.Data.SqlServer.dll&lt;/LI&gt;
&lt;LI&gt;Add the following code in your Program.cs file and update your ConnectionString to point to the database you restored.&amp;nbsp; &lt;/LI&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;using&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;FONT color=#000000&gt; System;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;using&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;FONT color=#000000&gt; System.Collections.Generic;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;using&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;FONT color=#000000&gt; System.Linq;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;using&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;FONT color=#000000&gt; System.Text;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;using&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;FONT color=#000000&gt; Microsoft.Synchronization.Data.SqlServer;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;using&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;FONT color=#000000&gt; System.Data.SqlClient;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;FONT color=#000000&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;namespace&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt; ConsoleApplication9&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;class&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;Program&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;static&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:place w:st="on"&gt;Main&lt;/st1:place&gt;(&lt;SPAN style="COLOR: blue"&gt;string&lt;/SPAN&gt;[] args)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #2b91af"&gt;SqlConnection&lt;/SPAN&gt; serverConn = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;SqlConnection&lt;/SPAN&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;serverConn.ConnectionString = &lt;SPAN style="COLOR: #a31515"&gt;"Data Source=localhost;Trusted_Connection=True;Database=&lt;SPAN style="BACKGROUND: yellow; mso-highlight: yellow"&gt;MYDATABASE&lt;/SPAN&gt;"&lt;/SPAN&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #2b91af"&gt;SqlConnection&lt;/SPAN&gt;.ClearPool(serverConn);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #2b91af"&gt;SqlSyncStoreRestore&lt;/SPAN&gt; databaseRestore = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;SqlSyncStoreRestore&lt;/SPAN&gt;(serverConn);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;databaseRestore.PerformPostRestoreFixup();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-no-proof: yes"&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI&gt;Compile and run the application.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;That should reset the synchronization information in the London SQL Server database and allow it to synchronize to SQL Azure just as the New York database has.&amp;nbsp; By the way, this code is a great way to create template databases that have data pre-provisioned in them so that you do not need to synchronize the initial data set.&lt;/P&gt;
&lt;P&gt;To test this new database, you will need to add the same SQL Agent process on the London machine that you have on the New York machine.&amp;nbsp; If it is a separate machine you will also need to install the 32-bit version of the &lt;A title="Microsoft Sync Framework 2.0 SDK" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89adbb1e-53ff-41b5-ba17-8e43a2e66254&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89adbb1e-53ff-41b5-ba17-8e43a2e66254&amp;amp;displaylang=en"&gt;Microsoft Sync Framework 2.0 SDK&lt;/A&gt; (even if you are running on a 64-bit machine) as well as &lt;A title="Power Pack for SQL Azure" href="http://go.microsoft.com/fwlink/?LinkID=168920&amp;amp;clcid=0x409" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkID=168920&amp;amp;clcid=0x409"&gt;Sync Framework Power Pack for SQL Azure&lt;/A&gt;. If you are not familiar with SQL Agent, to find the command line that is being used on the New York database, open SQL Server Management Studio, connect it to the New York database, choose SQL Agent |Jobs, and then right click on the job that is of the format “SyncToSQLAzure-XXXXX” and choose properties.&amp;nbsp; Choose Steps | Edit and copy the contents from the text box.&amp;nbsp; It should look something like this:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;"C:\Program Files\Microsoft Sync Framework\Power Pack For SQL Azure November CTP\SyncLocalSqlAzureDatabase.exe" -localServer localhost -localDb Archetype -SqlAzureDb MyDB -scope Sync_MyDB -SqlAzureServer XXXXXXX.database.windows.net&amp;nbsp; -SqlAzureUser sa -SqlAzurePassword passwordaf1786d3-jda5-4e55-9368-9kdffb2bdea3 -ConflictResolutionPolicy SqlAzureWins&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can either manually run this command line from the London machine or create a new SQL Agent that executes the same task.&lt;/P&gt;
&lt;P&gt;That’s it!&amp;nbsp; At this point you have two SQL Server databases that can communicate with each other through a SQL Azure database.&amp;nbsp; If you need more, you can follow the same process to add additional SQL Server databases.&amp;nbsp; &lt;BR&gt;I’d love to hear your &lt;A title="Contact Us" href="http://blogs.msdn.com/sync/contact.aspx" target=_blank mce_href="http://blogs.msdn.com/sync/contact.aspx"&gt;feedback&lt;/A&gt; on this!&lt;/P&gt;
&lt;P&gt;For more details on how to get started with SQL Azure Data Sync, please visit our &lt;A title="Developer Page" href="http://www.microsoft.com/windowsazure/developers/sqlazure/datasync/" target=_blank mce_href="http://www.microsoft.com/windowsazure/developers/sqlazure/datasync/"&gt;developer page&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Liam&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9936598" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sync/archive/tags/Sample/default.aspx">Sample</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure/default.aspx">SQL Azure</category><category domain="http://blogs.msdn.com/sync/archive/tags/Database+Sync/default.aspx">Database Sync</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure+Data+sync/default.aspx">SQL Azure Data sync</category></item><item><title>PDC Keynote Recording - Kelley Blue Book's use of SQL Azure Data Sync</title><link>http://blogs.msdn.com/sync/archive/2009/11/25/pdc-keynote-recording-kelley-blue-book-s-use-of-sql-azure-data-sync.aspx</link><pubDate>Wed, 25 Nov 2009 19:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9928795</guid><dc:creator>liamca</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sync/comments/9928795.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sync/commentrss.aspx?PostID=9928795</wfw:commentRss><description>&lt;P&gt;Last week at PDC we announced the availability of our first CTP of &lt;A title="SQL Azure Data Sync - Developer" href="http://www.microsoft.com/windowsazure/developers/sqlazure/datasync/" target=_blank mce_href="http://www.microsoft.com/windowsazure/developers/sqlazure/datasync/"&gt;SQL Azure Data Sync&lt;/A&gt;.&amp;nbsp; In the keynote, Andy Lapin of &lt;A title="Kelley Blue Book" href="http://www.kbb.com/" target=_blank mce_href="http://www.kbb.com/"&gt;Kelley Blue Book&lt;/A&gt; explained how they keep their community databases up-to-date using this technolgy to synchronize data between their on-premises SQL Server and SQL Azure.&amp;nbsp; The recording is &lt;A title="PDC Keynote - SQL Azure Data Sync" href="http://microsoftpdc.com/Sessions/KEY01" target=_blank mce_href="http://microsoftpdc.com/Sessions/KEY01"&gt;now available &lt;/A&gt;&amp;nbsp;for you to view (the Kelley Blue Book portion of the keynote starts at about 1:18:00).&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Ultimately, one of the goals of this CTP is to get your feedback.&amp;nbsp; What is it that you like or dislike about it?&amp;nbsp; Are you primarily interested in the Visual Studio integration or would you like us to see us add additional capabilities such as advanced monitoring or logging to the SQL Server provisioning tool.&amp;nbsp; So please send us your thoughts (good or bad) here:&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://social.microsoft.com/Forums/en-US/syncfeedback/threads"&gt;http://social.microsoft.com/Forums/en-US/syncfeedback/threads&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Liam&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9928795" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sync/archive/tags/Microsoft+Sync+Framework/default.aspx">Microsoft Sync Framework</category><category domain="http://blogs.msdn.com/sync/archive/tags/Video/default.aspx">Video</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure/default.aspx">SQL Azure</category><category domain="http://blogs.msdn.com/sync/archive/tags/Database+Sync/default.aspx">Database Sync</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure+Data+sync/default.aspx">SQL Azure Data sync</category></item><item><title>Announcing SQL Azure Data Sync (November CTP) Available for Download</title><link>http://blogs.msdn.com/sync/archive/2009/11/17/announcing-sql-azure-data-sync-november-ctp-available-for-download.aspx</link><pubDate>Tue, 17 Nov 2009 16:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9923665</guid><dc:creator>liamca</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/sync/comments/9923665.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sync/commentrss.aspx?PostID=9923665</wfw:commentRss><description>&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;Today in the opening keynote at &lt;A title="PDC Conference" href="http://microsoftpdc.com/" target=_blank mce_href="http://microsoftpdc.com/"&gt;PDC&lt;/A&gt; we announced the availability of SQL Azure Data Sync – November CTP, an early preview open to the public through a demonstration with Kelley Blue Book.&amp;nbsp; For those of you who have been following our blog, you may be asking yourself, what exactly does this include and how does it compare to Project “Huron” that we have been talking about for some time now?&amp;nbsp; In this post I want to give some additional details.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;You can think of SQL Azure Data Sync as the first part of our overall Project “Huron” vision which is to create a Data Hub in the Cloud, or more specifically a place for you to easily consolidate and share all of your information.&amp;nbsp; With SQL Azure Data Sync we have worked to simplify the task of sharing information whether that is from on-premises SQL Server to the cloud or from the cloud, down to mobile users, retails stores or remote offices.&amp;nbsp; &amp;nbsp;All of this being powered by the Microsoft Sync Framework.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;SQL Azure Data Sync allows &lt;I style="mso-bidi-font-style: normal"&gt;developers and DBA's&lt;/I&gt;&amp;nbsp;to:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=3 face=Calibri&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpFirst&gt;Link existing on-premises data stores to SQL Azure.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpFirst&gt;Create new applications in Windows Azure without abandoning existing on-premises applications.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpFirst&gt;Extend on-premises data to remote offices, retail stores and mobile workers via the cloud.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpFirst&gt;Take Windows Azure and SQL Azure based web application offline to provide an “Outlook like” cached-mode experience.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/FONT&gt;&lt;FONT size=3 face=Calibri&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;All of this is accomplished through&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=3 face=Calibri&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;An end-user Data Sync Tool that keeps on-premises SQL Server data in sync with SQL Azure.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;Visual Studio templates enabling developers to take Windows Azure and SQL Azure based web application offline within SQL Compact and SQL Server databases.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/FONT&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;By downloading Microsoft Sync Framework Power Pack for SQL Azure November CTP along with the Microsoft Sync Framework 2.0, developers can use the built-in providers for SQL, allowing them to synchronize SQL Azure with other stores such as SQL Server and SQL Server Compact.&amp;nbsp; SQL Azure Data Sync is optimized for performance over high latency networks by taking advantage of features like SQL Azure Table Valued Parameters to help reduce latency and significantly boost performance.&amp;nbsp; Moving forward Microsoft we will continue to enhance this technology and focus on providing a linkage between current on-premises data sources and Windows Azure Storage as well as utilizing this technology as a basis of a developer technology that will enable the Windows Azure platform to be the platform for creating cached mode web applications.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;To get started with SQL Azure Data Sync, you need the following:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l3 level1 lfo3" class=MsoListParagraphCxSpFirst&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89adbb1e-53ff-41b5-ba17-8e43a2e66254&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89adbb1e-53ff-41b5-ba17-8e43a2e66254&amp;amp;displaylang=en"&gt;&lt;FONT size=3 face=Calibri&gt;Microsoft Sync Framework 2.0&lt;/FONT&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l3 level1 lfo3" class=MsoListParagraphCxSpMiddle&gt;&lt;SPAN style="FONT-FAMILY: Symbol; COLOR: black; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A title="SQL Azure Data Sync" href="http://go.microsoft.com/fwlink/?LinkID=168920&amp;amp;clcid=0x409" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkID=168920&amp;amp;clcid=0x409"&gt;&lt;FONT size=3 face=Calibri&gt;Microsoft Sync Framework Power Pack for SQL Azure&lt;/FONT&gt;&lt;/A&gt;&lt;SPAN style="COLOR: black"&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt; – November CTP &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l3 level1 lfo3" class=MsoListParagraphCxSpLast&gt;&lt;SPAN style="FONT-FAMILY: Symbol; COLOR: black; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: black"&gt;&lt;FONT size=3 face=Calibri&gt;SQL Azure Server Account (&lt;/FONT&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkID=177596&amp;amp;clcid=0x409" mce_href="http://go.microsoft.com/fwlink/?LinkID=177596&amp;amp;clcid=0x409"&gt;&lt;FONT size=3 face=Calibri&gt;register here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;) &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: black"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;After installation, you will find 2 new components to help you get started:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l1 level1 lfo4" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: black; mso-fareast-font-family: Calibri"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3 face=Calibri&gt;1)&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B&gt;&lt;SPAN style="COLOR: black"&gt;SQL Server Provisioning Wizard&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="COLOR: black"&gt;:&amp;nbsp; This wizard (launched from Start | Programs | Microsoft Sync Framework | SQL Azure Data Sync Tool for SQL Server) walks you through the process of connecting SQL Server to SQL Azure through data synchronization.&amp;nbsp; Within this wizard you select the tables to provision in SQL Azure, it will create a new database and setup background synchronization to keep the two data stores in-sync.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l1 level1 lfo4" class=MsoListParagraph&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="COLOR: black"&gt;&lt;IMG style="WIDTH: 500px; HEIGHT: 343px" title="SQL Azure Data Sync - Select Tables" alt="SQL Azure Data Sync - Select Tables" src="http://blogs.msdn.com/photos/sync/images/9923667/500x343.aspx" width=500 height=343 mce_src="http://blogs.msdn.com/photos/sync/images/9923667/500x343.aspx"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="COLOR: black; mso-no-proof: yes"&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;&lt;v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"&gt;&lt;/v:path&gt;&lt;o:lock aspectratio="t" v:ext="edit"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;&lt;v:shape style="WIDTH: 321pt; HEIGHT: 220.2pt; VISIBILITY: visible" id=_x0000_i1026 type="#_x0000_t75"&gt;&lt;v:imagedata mce_href="cid:image001.jpg@01CA62EF.E29E2040" mce_src="file:///C:\Users\LIAMCA~1.RED\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg" o:href="cid:image001.jpg@01CA62EF.E29E2040" src="file:///C:\Users\LIAMCA~1.RED\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg"&gt;&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: black"&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l1 level1 lfo4" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: black; mso-fareast-font-family: Calibri"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT size=3 face=Calibri&gt;2)&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B&gt;&lt;SPAN style="COLOR: black"&gt;Visual Studio 2008 Template&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="COLOR: black"&gt;:&amp;nbsp; For users that would like to take an existing SQL Azure database offline, this new template simplifies the task of creating an offline data cache within SQL Compact.&amp;nbsp; Using the template wizard (available by right clicking on a Visual Studio Solution Explorer Application and choosing Add | New Item | SQLAzureDataSyncClient, developers can choose the SQL Azure tables that they would like to be made available offline.&amp;nbsp; After completing the wizard, a SQL Compact database will be created and code will be generated that allows the offline to synchronize changes on-demand between SQL Azure and SQL Compact.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="COLOR: black"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l1 level1 lfo4" class=MsoListParagraph&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&lt;IMG style="WIDTH: 305px; HEIGHT: 363px" title="Visual Studio Data Sync Template" alt="Visual Studio Data Sync Template" src="http://blogs.msdn.com/photos/sync/images/9923670/original.aspx" width=305 height=363 mce_src="http://blogs.msdn.com/photos/sync/images/9923670/original.aspx"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l1 level1 lfo4" class=MsoListParagraph&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;- Liam&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9923665" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sync/archive/tags/Huron/default.aspx">Huron</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure/default.aspx">SQL Azure</category><category domain="http://blogs.msdn.com/sync/archive/tags/Database+Sync/default.aspx">Database Sync</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure+Data+sync/default.aspx">SQL Azure Data sync</category></item><item><title>SQL Pass Conference &amp; Synchronization to SQL Azure</title><link>http://blogs.msdn.com/sync/archive/2009/11/04/sql-pass-synchronization-to-sql-azure.aspx</link><pubDate>Wed, 04 Nov 2009 17:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9917438</guid><dc:creator>liamca</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sync/comments/9917438.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sync/commentrss.aspx?PostID=9917438</wfw:commentRss><description>&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal mce_keep="true"&gt;Yesterday was the first day of the SQL Server conference, &lt;A href="http://summit2009.sqlpass.org/"&gt;SQL Pass&lt;/A&gt;, here in Seattle.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It was a really exciting day for me because I had the opportunity to present our new synchronization capabilities to the cloud in the opening day keynote and in a subsequent session.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;We introduced the first piece of Project “Huron”, that is a technology based on the Sync Framework&amp;nbsp;enabling people to use Windows Azure as a central Data Hub for&amp;nbsp;all information.&amp;nbsp; To accomplish this, later this month&amp;nbsp;we will make available for download an early preview of a tool that provides the ability to extend a SQL Server on-premises databases to the cloud.&amp;nbsp; Once configured users can then easily extend data from the cloud to mobile users and remote offices.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;Using this tool and with the help of one of our partners, &lt;A href="http://www.archetype-inc.com/"&gt;Archetype&lt;/A&gt;, we showed how companies can easily extend their on-premises SQL Servers to SQL Azure using data synchronization, allowing the data stores to co-exist and interoperate seamlessly.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;All of this can be setup using a wizard.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Then from an automatically generated SQL Agent, the synchronization process is executed periodically to move the incremental changes between SQL Server and SQL Azure.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Here are a few screenshots of the tool:&lt;/SPAN&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P mce_keep="true"&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 500px; HEIGHT: 343px" title="SQL Azure Server Credentials" alt="SQL Azure Server Credentials" src="http://blogs.msdn.com/photos/sync/images/9917427/500x343.aspx" width=500 height=343 mce_src="http://blogs.msdn.com/photos/sync/images/9917427/500x343.aspx"&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG style="WIDTH: 500px; HEIGHT: 343px" title="Choose Tables to Sync" alt="Choose Tables to Sync" src="http://blogs.msdn.com/photos/sync/images/9917426/500x343.aspx" width=500 height=343 mce_src="http://blogs.msdn.com/photos/sync/images/9917426/500x343.aspx"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 500px; HEIGHT: 343px" title="Sync Progress" alt="Sync Progress" src="http://blogs.msdn.com/photos/sync/images/9917429/500x343.aspx" width=500 height=343 mce_src="http://blogs.msdn.com/photos/sync/images/9917429/500x343.aspx"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 365px; HEIGHT: 375px" title="Sync Complete" alt="Sync Complete" src="http://blogs.msdn.com/photos/sync/images/9917428/365x375.aspx" width=365 height=375 mce_src="http://blogs.msdn.com/photos/sync/images/9917428/365x375.aspx"&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Watch for more details over this month at the Professional Developer Conference and in this blog for other new capabilities we are providing to for integration to Windows Azure and SQL Azure.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;Liam Cavanagh&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9917438" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sync/archive/tags/Microsoft+Sync+Framework/default.aspx">Microsoft Sync Framework</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://blogs.msdn.com/sync/archive/tags/Huron/default.aspx">Huron</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure/default.aspx">SQL Azure</category><category domain="http://blogs.msdn.com/sync/archive/tags/Database+Sync/default.aspx">Database Sync</category></item><item><title>SharePoint 2010, Windows 7 and PwC Now Integrate Microsoft Sync Framework v2.0</title><link>http://blogs.msdn.com/sync/archive/2009/10/19/sharepoint-2010-now-integrates-microsoft-sync-framework.aspx</link><pubDate>Mon, 19 Oct 2009 18:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9909291</guid><dc:creator>liamca</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sync/comments/9909291.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sync/commentrss.aspx?PostID=9909291</wfw:commentRss><description>&lt;P&gt;As we announced earlier today, Microsoft Sync Framework V2.0 is now available for &lt;A title="Sync Framework v2.0" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89adbb1e-53ff-41b5-ba17-8e43a2e66254&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89adbb1e-53ff-41b5-ba17-8e43a2e66254&amp;amp;displaylang=en"&gt;public download&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Along with this release I wanted to outline a number of companies and partners that are already using Sync Framework v2.0 including Windows 7, Microsoft Office 2010 and PricewaterhouseCoopers (PwC).&amp;nbsp; &lt;/P&gt;
&lt;P&gt;SharePoint has also chosen to integrate Microsoft Sync Framework as part of their solution for synchronizing to Office SharePoint 2010. The SharePoint and Office teams will use the Sync Framework as the engine powering synchronization between Office Workspace (Groove) and SharePoint.&amp;nbsp; In addition, the SharePoint server will also expose Sync Framework API’s that will allow any developer to build providers to integrate new data stores into SharePoint.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;"The Sync Framework will greatly reduce the amount of code that an ISV needs to create, and this represents probably the most painful code that they otherwise would have had to write".&lt;BR&gt;&lt;/EM&gt;Maxim Lukiyanov, Program Manager SharePoint Server, Microsoft&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For more information on this please see our new case study: &lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;A href="http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?casestudyid=4000005540"&gt;Microsoft Sync Framework used to Create Microsoft SharePoint Workspace 2010&lt;/A&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The Windows 7 Device Stage gives users a common user interface to manage and synchronize data with their Windows 7 enabled phone.&amp;nbsp; Contacts, calendar, tasks and even notes can be synchronized with any data store. Sync Framework v2.0 is the easiest way for developers to implement data synchronization providers for any store to enable it for the Windows 7 Device synchronization experience. &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;"The flexibility of Sync Framework and its ability to track and exchange data really set this technology apart.&amp;nbsp; Since Sync Framework is data agnostic this allowed us to develop a framework tailored around contact, calendar, tasks and notes data".&amp;nbsp; &lt;/EM&gt;&lt;BR&gt;Anna Boyd, Windows 7 Engineering, Microsoft&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;PricewaterhouseCoopers has put a system in deployment for 60,000+ mobile auditors in 150 countries to allow much of their work to be done remotely at the client site, making disconnected, offline use of their application and friction free collaboration across teams.&amp;nbsp; &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;"Our implementation of Sync Framework ‘just worked’ for our auditors.&amp;nbsp; If they set automatic synchronization, our software finds peers, verifies access rights to the same engagement database, and updates all databases.&amp;nbsp; They might be connected to each other over a client’s network, or just via ad hoc (no access point) WiFi.&amp;nbsp; If just one laptop has access to the servers, that laptop automatically funnels all changes from the laptops to the server and vice versa.&amp;nbsp; No manual configuration is needed". &lt;BR&gt;&lt;/EM&gt;Dr. Glenn Ricart, Technology and Development Leader, PricewaterhouseCoopers&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;Liam Cavanagh&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9909291" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sync/archive/tags/Microsoft+Sync+Framework/default.aspx">Microsoft Sync Framework</category><category domain="http://blogs.msdn.com/sync/archive/tags/Case+Study/default.aspx">Case Study</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure/default.aspx">SQL Azure</category></item><item><title>Sync Framework and our upcoming conferences</title><link>http://blogs.msdn.com/sync/archive/2009/10/05/sync-and-sql-pass.aspx</link><pubDate>Mon, 05 Oct 2009 19:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9903319</guid><dc:creator>liamca</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sync/comments/9903319.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sync/commentrss.aspx?PostID=9903319</wfw:commentRss><description>&lt;P&gt;The next few months are going to be&amp;nbsp;very busy for us here in the Sync Framework team.&amp;nbsp; Not only do we have Sync Framework v2 coming out shortly, we also have a number of conferences where we will talk about the work we have been doing with some of external companies and internal groups here at Microsoft to allow developers to plug-in synchronization to systems like SQL Server and SQL Azure.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Starting in November, we will be at &lt;A title="SQL Pass Conference" href="http://summit2009.sqlpass.org/" target=_blank mce_href="http://summit2009.sqlpass.org/"&gt;SQL PASS&lt;/A&gt;, and then at the &lt;A title="PDC Conference" href="http://microsoftpdc.com/" target=_blank mce_href="http://microsoftpdc.com/"&gt;PDC&lt;/A&gt; for the launch of SQL Azure.&amp;nbsp; Last week I recorded a Channel 9 video along with Buck Woody and Michael Rys on the upcoming SQL PASS Summit. You can view the video here:&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;A href="http://channel9.msdn.com/posts/LarryLarsen/Upcoming-SQL-PASS-Summit-1/"&gt;&lt;FONT size=3 face=Calibri&gt;http://channel9.msdn.com/posts/LarryLarsen/Upcoming-SQL-PASS-Summit-1/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Here is a summary of the video:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;Join thousands of SQL Server &amp;amp; BI professionals at the Washington State Convention &amp;amp; Trade Center in Seattle from Nov. 2-5 for the largest SQL Server conference in the world!&amp;nbsp; PASS Summit offers 168 technical sessions presented by SQL Server experts, one-on-one time with Microsoft’s SQL Server engineering team, free troubleshooting &amp;amp; design architecture guidance from Microsoft consultants, keynotes from Microsoft’s senior executives and much more! &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Senior Data Platform Technology Specialist Buck Woody stopped by the Channel 9 studio to talk to Michael Rys, Principal Program Manager in SQL Server Engineering Team, and Liam Cavanagh, Senior Program Manager, about upcoming sessions you won’t want to miss this year’s PASS Summit conference.&lt;/EM&gt; &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Liam Cavanagh&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9903319" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sync/archive/tags/Microsoft+Sync+Framework/default.aspx">Microsoft Sync Framework</category><category domain="http://blogs.msdn.com/sync/archive/tags/Video/default.aspx">Video</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure/default.aspx">SQL Azure</category></item><item><title>SQL Services is now SQL Azure</title><link>http://blogs.msdn.com/sync/archive/2009/07/08/sql-services-is-now-sql-azure.aspx</link><pubDate>Thu, 09 Jul 2009 01:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9825052</guid><dc:creator>liamca</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sync/comments/9825052.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sync/commentrss.aspx?PostID=9825052</wfw:commentRss><description>&lt;P&gt;I thought I would help get the word out on this one.&amp;nbsp; Given that we have been spending so much time on &lt;A title="Huron Sync" href="http://blogs.msdn.com/sync/archive/tags/Huron/default.aspx" target=_blank mce_href="http://blogs.msdn.com/sync/archive/tags/Huron/default.aspx"&gt;Project "Huron"&lt;/A&gt;, which is a project to enable data synchronization to the cloud where the data store is &lt;STRIKE&gt;SQL Data Services&lt;/STRIKE&gt; SQL Azure Database,&amp;nbsp;I thought you should all be aware of this new branding.&amp;nbsp; As we announced in the &lt;A title="Data Insiders Blog" href="http://blogs.technet.com/dataplatforminsider/archive/2009/07/08/microsoft-sql-services-is-now-microsoft-sql-azure.aspx" target=_blank mce_href="http://blogs.technet.com/dataplatforminsider/archive/2009/07/08/microsoft-sql-services-is-now-microsoft-sql-azure.aspx"&gt;Data Insiders Blog&lt;/A&gt;&amp;nbsp;earlier today:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;EM&gt;"Effective immediately, SQL Services will be called Microsoft SQL Azure, and SQL Data Services will be Microsoft SQL Azure Database".&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;Also, I appologize that I have not provided much of an update on Project "Huron" lately.&amp;nbsp; We are currently heads down in engineering and working out the specific details of the sync service to be hosted within Azure.&amp;nbsp; I would like to thank all of you who offered to help us with our Early Adopter Program.&amp;nbsp; The feedback we have been receiving from you has been absolutely invaluable.&amp;nbsp; &lt;/P&gt;
&lt;P mce_keep="true"&gt;Liam&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9825052" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sync/archive/tags/Huron/default.aspx">Huron</category><category domain="http://blogs.msdn.com/sync/archive/tags/SQL+Azure/default.aspx">SQL Azure</category></item></channel></rss>