<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:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for Visual Studio Orcas - Sync Designer, going N Tier w/WCF (SteveLasker on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://beta.channel9.msdn.com/posts/stevelasker/visual-studio-orcas-sync-designer-going-n-tier-wwcf/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for Visual Studio Orcas - Sync Designer, going N Tier w/WCF (SteveLasker on Channel 9)</title><link>http://channel9.msdn.com/posts/SteveLasker/Visual-Studio-Orcas-Sync-Designer-going-N-Tier-wWCF/</link></image><description>Visual Studio Orcas - Sync Designer, going N Tier w/WCF</description><link>http://channel9.msdn.com/posts/SteveLasker/Visual-Studio-Orcas-Sync-Designer-going-N-Tier-wWCF/</link><language>en-us</language><pubDate>Fri, 03 Oct 2008 07:36:06 GMT</pubDate><lastBuildDate>Fri, 03 Oct 2008 07:36:06 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3243.35083, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Visual Studio Orcas - Sync Designer, going N Tier w/WCF</title><description>Thanks for this video, it really helps.&lt;br /&gt;&lt;br /&gt;couple of things have changed since it was written though,&amp;nbsp; I found this website also very usefull&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.devx.com/wireless/Article/38226/1954"&gt;http://www.devx.com/wireless/Article/38226/1954&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The 2 things that I have had to follow from the above website rather than your video are.&lt;br /&gt;&lt;br /&gt;1.&amp;nbsp; When you paste the breadcrumb into the App.config file you must also remove the &amp;lt;identity&amp;gt; section,&amp;nbsp; if you leave this in place the WCF returns the following error.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.ServiceHostBase.InitializeRuntime()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.Channels.CommunicationObject.Open()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Tools.SvcHost.ServiceHostHelper.OpenService(ServiceInfo info)&lt;br /&gt;&lt;br /&gt;2.&amp;nbsp; Once you have added the service reference to the WCF you then amend the partial code of the sync providor.&amp;nbsp; (northwindeCache.vb)&amp;nbsp; and add an OnInitialized Sub.&amp;nbsp; The code that is now required is as follows.&lt;br /&gt;&lt;br /&gt;
&lt;blockquote dir="ltr"&gt;
&lt;p&gt;&lt;strong&gt;Imports Microsoft.Synchronization.Data&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Partial Public Class NorthwindeCacheSyncAgent&lt;/p&gt;
&lt;p&gt;Private Sub OnInitialized()&lt;/p&gt;
&lt;blockquote dir="ltr"&gt;
&lt;p&gt;&lt;strong&gt;Me.RemoteProvider = New ServerSyncProviderProxy(New ServiceReference1.NorthwindeCacheSyncContractClient())&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;End Class&lt;/p&gt;&lt;/blockquote&gt;Hope this helps someone, thanks again to Steve Lasker &amp;amp; Wei-Meng Lee from the DevX website.&lt;br /&gt;&lt;br /&gt;Tom&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/posts/SteveLasker/Visual-Studio-Orcas-Sync-Designer-going-N-Tier-wWCF/?CommentID=430955</link><pubDate>Fri, 03 Oct 2008 07:36:06 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/SteveLasker/Visual-Studio-Orcas-Sync-Designer-going-N-Tier-wWCF/?CommentID=430955</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/430955/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Thanks for this video, it really helps.couple of things have changed since it was written though,&amp;nbsp; I found this website also very usefullhttp://www.devx.com/wireless/Article/38226/1954The 2 things that I have had to follow from the above website rather than your video are.1.&amp;nbsp; When you&amp;#8230;</evnet:previewtext><dc:creator>tomkett</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/430955/Trackback.aspx</trackback:ping></item></channel></rss>