Silverlight 2 Changes

Between Silverlight 2 Beta 2 & Silverlight 2 RTW, there were a few changes and additions.  Here’s a brief rundown on the areas I directly worked on.  The overall breaking change list can be found here.   Control Model Silverlight 2 RTW Updates generic.xaml lives in themes directory For WPF compat, we’re now looking for generic.xaml at themesresources.xaml.  It still needs to be built as an assembly resource. VisualTransition.GeneratedDuration The VisualTransition.Duration’s property name has changed.  It is now called VisualTransition.GeneratedDuration. This value will only impact the duration of generated transition animations.  It has no affect on the VisualTransition.Storyboard animations. VisualTransition.Storyboard …

Silverlight 2 Beta2

Silverlight Beta2 is officially out in the wild!  All the required download links to get started are here: Silverlight 2 Beta 2 runtime Visual Studio 2008 Silverlight Tools  Expression Blend 2.5 June Preview Deep Zoom Composer   Also, for the feature areas I drive, here are the major Beta2 updates: Networking Wider API set for WebClient Upload methods for streams and strings Set request headers on uploads Threading Updates HttpWebRequest & WebClient are callable on a background thread HttpWebRequest’s delegates are called on a new non-UI thread. Delegates were previously always called on the UI thread. You must invoke back …

Silverlight HTTP Networking Stack – Part 3 (Configuring a Cross Domain Policy File)

Here’s the final post in this 3 part Silverlight HTTP networking series. In the first post, we discussed basic site of origin HTTP communication.  In the second, we gave an overview of Silverlight’s cross domain communication support. Today, we’ll drill in to how to configure your web service to enable Silverlight cross domain callers.  If you haven’t already, please be sure to read (at least) part 2 of this series – it provides a lot context for this discussion. Note: this tutorial has been updated for Silverlight 2 RTW   (Series Links:  Part 1, Part 2, Part 3)   So, …

Silverlight HTTP Networking Stack – Part 2 (Cross Domain Communication Overview)

In part 1, we discussed how Silverlight applications talk to their site of origin server.  In this post, we’ll dive into the high level concepts around Silverlight’s cross domain HTTP communication.  Then next time, we’ll go into details of how to set up a cross domain policy file. Note: this tutorial has been updated for Silverlight 2 RTW. (Series Links:  Part 1, Part 2, Part 3) What is Cross Domain Communication? As mentioned last time, your Silverlight application by default can only talk back to its site of origin server.  This is in line with the general browser sandbox, and …

Silverlight HTTP Networking Stack – Part 1 (Site of Origin Communication)

This is going to be a three parter.  🙂  Today, we’ll dig into the core networking capabilities of the HTTP stack for site of origin communication.  In the next two parts, we’ll go deep into understanding our HTTP cross domain support. Note: this tutorial has been updated for Silverlight 2 RTW. (Series Links:  Part 1, Part 2, Part 3)   So, You Want To Phone Home… In Silverlight 2, by default, you are only able to talk back to your site of origin server.  This is in line with the general browser sandbox, and is designed to prevent cross site …