Oct 25 2010

Duplex sample updated to Silverlight 4

I was following this thread on the Silverlight forums and was asked to update the Duplex sample to Silverlight 4.

Click here to download the code.

More information about Duplex Services are available here:

Happy Silverlighting!


Apr 27 2009

Silverlight 3 Duplex Wrap-up

I’ve already blogged about the new Silverlight 3 Beta Duplex support here. In these days I’ve found some interesting articles and tips about this topic, so this is a list of links I’ve found useful:


Mar 22 2009

Silverlight 3 Beta Duplex support

I’m testing the updated Duplex support available in Silverlight 3 Beta, the important news is the possibility to simplify and reduce the code in the client:

  • now it’s possible to use the “Add Service Reference” functionality of Visual Studio to consume the service;
  • in this way you the use of channels can be avoided by simply attaching a callback to an event.

 

I’ve prepared an example based on the material available on the official documentation, download the complete solution from here.


Mar 21 2009

What’s new with web services in Silverlight 3 Beta

Great news:

  • Binary message encoding;
  • Duplex object model simplification;
  • Faults support;
  • New security mode;
  • Command-line proxy generation.

 

Check out the original post by the Silverlight Web Services Team.

Remember also to download the samples available here.

 


Mar 14 2009

Windows Communication Foundation REST Starter Kit Preview 2 available

The WCF REST Starter kit contains a set of new features that will be added to WCF 4.0 in order to simplify the development of RESTful Windows Communication Foundation Services and Clients.

This new release contains a set of new client-side features such as:

  • a new HttpClient class to send Http requests and process the Http responses;
  • a new “Paste Xml as Type“ add-in for Visual Studio to simplify the usage of the serialization capabilities offered by the new HttpClient.

 

Click here to read more information and download the installation package.


Mar 4 2009

Windows 7 How to: Login failed for user ‘IIS APPPOOL\DefaultAppPool’

If you obtain this error using WCF, IIS7, LINQ to SQL on Windows 7, read this thread:

http://www.codetoday.net/default.aspx?g=posts&t=1595


Feb 23 2009

How to speed up your app by compressing WCF service responses

Check out this excellent post by Tim Greenfield.


Feb 17 2009

Using WS-Discovery in WCF 4.0

What is WS-Discovery? As described in this excellent post by Jesus Rodriguez, WS-Discovery is an OASIS Standard that defines a lightweight discovery mechanism for discovering services based on multicast messages. Read the post for an example of its use in WCF 4.0.

 


Jan 28 2009

Silverlight 2, REST and WCF

Yi-Lun Luo has posted a great example in the forum about creating RESTful WCF services, click here to read the complete thread.

Useful links:

 

If you are interested in this subject, I also recommend the reading of this book by John Papa:

data20services20with20silverlight20220-20amazon20cover_-20small


Jan 23 2009

Catch and Handle WCF Service Exceptions in Silverlight

Suriel  Bendahan has written a great article about this topic on CodeProject, source code available!