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 must be defined inline
- You cannot set VisualTransition.Storyboard to be a storyboard resource. It needs to be defined as content of the <VisualTransition>.
HTTP Networking Silverlight 2 RTW Updates
- Cross-scheme HTTP <-> HTTPS calls are allowed with a cross domain file.
- See my Networking Tutorial for more details
- Sub-domain wildcards are allowed within a clientaccesspolicy.xml cross domain file
- See my Networking Tutorial for more details
- Setting the Content-Type is always allowed on cross domain POSTS
- Of course, the cross domain POST itself needs to be allowed by the service’s cross domain policy file.
- All other headers still need to be explicitly allowed in the service’s cross domain policy file.
Are you sure that the name of the file under themes folder is resources.xaml ??? I think the file should still be named generic.xaml .