Visual Studio Orcas - Sync Designer, going N Tier with WCF
- Posted: Mar 22, 2007 at 7:33 PM
- 13,249 Views
- 1 Comment
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- WMV (WMV Video)
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
Comments Closed
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
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