Silverlight 2 and Duplex-Services deployed to IIS7

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.

Enjoy!

Silverlight and WCF Duplex Services

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!

Silverlight 2 – Debugging Web Services and HTTP Networking Stack

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: