<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Visual Studio Orcas - Sync Designer, going N Tier with WCF</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/SteveLasker/Visual-Studio-Orcas-Sync-Designer-going-N-Tier-wWCF/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/253397_100x75.jpg</url>
		<title>Channel 9 - Visual Studio Orcas - Sync Designer, going N Tier with WCF</title>
		<link></link>
	</image>
	<description>In part 1, I used the Visual Studio Orcas Sync Designer to configure and synchronize 3 lookup tables to be cached locally in SQL Server Compact Edition using the Sync Services for ADO.NET
 CTP.

In part 2, I take the cached lookup tables and split up the client and server sync components using WCF to glue them together.
For more info about our Occasionally Connected Services scenarios, and Sync Services for ADO.NET, you can use the following links:
My blog
Sync Services CTP:

Sync Services Forum

</description>
	<link></link>
	<language>en</language>
	<pubDate>Thu, 20 Jun 2013 03:42:32 GMT</pubDate>
	<lastBuildDate>Thu, 20 Jun 2013 03:42:32 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Visual Studio Orcas - Sync Designer, going N Tier with WCF</title>
		<description>
			<![CDATA[Thanks for this video, it really helps.<br>
<br>
couple of things have changed since it was written though,&nbsp; I found this website also very usefull<br>
<br>
<a href="http://www.devx.com/wireless/Article/38226/1954">http://www.devx.com/wireless/Article/38226/1954</a><br>
<br>
The 2 things that I have had to follow from the above website rather than your video are.<br>
<br>
1.&nbsp; When you paste the breadcrumb into the App.config file you must also remove the &lt;identity&gt; section,&nbsp; if you leave this in place the WCF returns the following error.<br>
<br>
System.InvalidOperationException: When multiple endpoints on a service share the same ListenUri, those endpoints must all have the same Identity in their EndpointAddress. The endpoints at ListenUri 'http://localhost:8731/Design_Time_Addresses/WcfSyncService/Service1/'
 do not meet this criteria.<br>
&nbsp;&nbsp; at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)<br>
&nbsp;&nbsp; at System.ServiceModel.ServiceHostBase.InitializeRuntime()<br>
&nbsp;&nbsp; at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)<br>
&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br>
&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open()<br>
&nbsp;&nbsp; at Microsoft.Tools.SvcHost.ServiceHostHelper.OpenService(ServiceInfo info)<br>
<br>
2.&nbsp; Once you have added the service reference to the WCF you then amend the partial code of the sync providor.&nbsp; (northwindeCache.vb)&nbsp; and add an OnInitialized Sub.&nbsp; The code that is now required is as follows.<br>
<br>
<blockquote dir="ltr">
<p><strong>Imports Microsoft.Synchronization.Data</strong></p>
<p>Partial Public Class NorthwindeCacheSyncAgent</p>
<p>Private Sub OnInitialized()</p>
<blockquote dir="ltr">
<p><strong>Me.RemoteProvider = New ServerSyncProviderProxy(New ServiceReference1.NorthwindeCacheSyncContractClient())</strong></p>
</blockquote>
<p>End Sub</p>
<p>End Class</p>
</blockquote>
Hope this helps someone, thanks again to Steve Lasker &amp; Wei-Meng Lee from the DevX website.<br>
<br>
Tom<br>
<br>
<br>
<br>
<br>
<p>posted by tomkett</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/SteveLasker/Visual-Studio-Orcas-Sync-Designer-going-N-Tier-wWCF#c633586161660000000</link>
		<pubDate>Fri, 03 Oct 2008 07:36:06 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/SteveLasker/Visual-Studio-Orcas-Sync-Designer-going-N-Tier-wWCF#c633586161660000000</guid>
		<dc:creator>tomkett</dc:creator>
	</item>
</channel>
</rss>