Visual Studio Orcas - Sync Designer, going N Tier with WCF
- Posted: Mar 22, 2007 at 7:33 PM
- 13,540 Views
- 1 Comment
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
couple of things have changed since it was written though, I found this website also very usefull
http://www.devx.com/wireless/Article/38226/1954
The 2 things that I have had to follow from the above website rather than your video are.
1. When you paste the breadcrumb into the App.config file you must also remove the <identity> section, if you leave this in place the WCF returns the following error.
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.
at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
at System.ServiceModel.ServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open()
at Microsoft.Tools.SvcHost.ServiceHostHelper.OpenService(ServiceInfo info)
2. Once you have added the service reference to the WCF you then amend the partial code of the sync providor. (northwindeCache.vb) and add an OnInitialized Sub. The code that is now required is as follows.
Hope this helps someone, thanks again to Steve Lasker & Wei-Meng Lee from the DevX website.
Tom
Remove this comment
Remove this thread
close