Extensibility interfaces for Windows Phone 7 and Silverlight 3

The extensibility interfaces (IClientMessageFormatter, IClientMessageInspector, IParameterInspector) added in Silverlight 4 were a great addition and enabled many scenarios that were, if not impossible, quite hard to accomplish before. But for applications written for SL3 (and Windows Phone 7), those extensibility points aren’t available, so doing things such as inspecting messages, adding headers, customizing serialization, etc….

Custom serialization in Silverlight

Unlike in the desktop framework, Silverlight doesn’t have a good extensibility point for replacing the serializer which is used to serialize / deserialize operation parameters (since the class DataContractSerializerOperationBehavior is not public in SL4). I wrote a post about how to replace the default serializer using the existing extensibility points in SL4 (endpoint behavior, message formatters)….

Active Federation using RIA Services and WIF

You may have built a federated auth app with RIA Services, but it always required cumbersome browser redirects. Check out this new sample that shows how to do federated auth with with WIF, all from inside the Silverlight app. Hope this is useful,-Yavor

Accessing SharePoint UserProfileService from Windows Phone 7

A while ago we shared a workaround for accessing some ASMX services (including SharePoint’s UserProfileService) from Silverlight 4. Unfortunately that workaround does not work for Silverlight 3 and Windows Phone 7 applications. Here is a new post which addresses that. Thanks,-Yavor GeorgievProgram Manager, WCF