Skip to main content
Silverlight 3 WCF Binary Message Encoding
Entry Date: Rate:
Site:
Keywords:
RSS Description:
Silverlight 3 offers us some new features when it comes to WCF web services. In Silverlight 2, BasicHttpBinding was the only supported binding. This essentially encodes your serialized objects in clear text and sends them over an HTTP transport. Because the objects were sent as clear text, the message size could get out-of-hand. When sending data across HTTP/Internet, you obviously want to decrease the size as this will improve performance of your client application. Silverlight 3 offers the ability to create custom bindings which support the ability to encode your WCF web service messages as a binary format.
Comments:

If you have to send medium / big packages, this new feature in Silverlight (support for WCF binary message encoding) will save you tons of bandwith and just by turning of some settings (transparent to your code).

If you have to give support to asmx... no way you can't use this :-(