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.
Check out this excellent post by Tim Greenfield.
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.
As reported by the Web Services Team, Silverlight 2 supports custom SOAP headers.
A good working example can be found here, but it only uses WCF services, what about the “old” asmx ones?
I’ve modified the “SilverlightHeaders” solution to use both WCF and asmx, using OperationContext in the first case and HttpContext in the last, click here to download the complete solution.
Take a look at this interesting articles: