I’ve prepared this Silverlight 2 Beta 2 solution based on the example described in the official documentation.
You can try it just following these simple steps:
- open the solution using Visual Studio 2008;
- deploy the Wcf Service “DuplexService” to http://localhost/DuplexService;
- copy the included crossdomain.xml and clientaccesspolicy.xml in c:\inetpub\wwwroot\;
- run the project “DuplexClientWeb” from within Visual Studio or deploy it to IIS.
One of the new features of SL2B2 is the capability to use duplex WCF services.
Dan Wahlin has written two great articles about this topic on his blog:
Definitely worth a look!
Click here to read this interesting article by Gill Cleeren.
I have found very useful this article by the Silverlight Web Services Team.
The Silverlight HTTP Networking Stack, WebClient and HttpWebRequest/HttpWebResponse, cross domain support are discussed here:
Take a look at this interesting articles:
How to integrate external data into WPF Browser Applications: click here to read an interesting article.
In this article, Michael S. Scherotter illustrates how to build an application using Microsoft Silverlight and Google ‘s OpenSocial Apis.
If you want try out the example in the Orkut Sandbox just follow these steps.