Jan 3 2009

Silverlight, SOAP Headers, WCF and asmx services

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.


Dec 8 2008

Understanding WCF services and Silverlight

Check out this great article by David Betz.


Nov 1 2008

WCF REST Starter Kit Preview 1 available on CodePlex

“The WCF REST Starter Kit is a set of features, Visual Studio templates, samples and guidance that enable users to create REST style services using WCF. The CodePlex Preview 1 release provides new features that enable or simplify various aspects of using the http capabilities in WCF, such as caching, security, error handling, help page support, conditional PUT, push style streaming, type based dispatch and semi-structured XML support. The WCF REST Starter Kit also provides Visual Studio templates for creating REST style services such as an Atom feed service, a REST-RPC hybrid service, Resource singleton and collection services and an Atom Publishing Protocol service. In addition, there are samples, documentation and other guidance that help to use these new capabilities.”

http://www.codeplex.com/aspnet/Wiki/View.aspx?title=WCF%20REST

More information are available here.


Oct 21 2008

Get a relative URI to your Web/WCF Service in Silverlight

Check out this post by Jordan Knight.


Oct 21 2008

New Web Services features in Silverlight 2 RTW

The Silverlight Web Services Team has posted a great article about the new features available in the RTW release.

The article gives details about:

  • SOAP Headers
  • SOAP Faults
  • Reusing existing types in “Add Service Reference”
  • Duplex Services
  • Support for ChannelFactory<T>

Oct 18 2008

SOAP and REST – both equally important to Sun

Check out the original post by Arun Gupta.


Oct 17 2008

Silverlight and Facebook

Pete Brown has posted two great articles about this topic:


Oct 12 2008

Silverlight 2 RC0 + ADO.NET Data Service + Entity Framework

Pietro Brambati has posted a great article about these topics (in italian).

Source code available!


Oct 1 2008

Faults and Exceptions when using Web Services in Silverlight 2

In this great post Eugene Osovetsky answers the following questions:

  • Why are exceptions not “propagated” from WCF services to Silverlight clients?
  • Why are SOAP Faults not supported?
  • Given the limitations on exceptions/faults, are there any tricks I can use to make my scenario work? Is anything planned to improve this in the future?
  • I can’t even get basic error handling to work when calling web services in Silverlight. Can I at least tell when something went wrong, even if I can’t access the exact fault details?

Sep 2 2008

Silverlight, PHP and WS-I Basic profile

Take a look at this great discussion on the Silverlight forum, about Web-Services interoperability.

As described, Web-Services must be implemented following the specifications reported on the WS-I Organization site.