Welcome to WindowsClient.net | Sign in | Join

Rob Relyea - XAMLified

WPF, Silverlight and XAML

Syndication

Sponsors





  • advertise here
Update on XAML compatibility for WPF 4

Our team has been doing great work since I last posted. WPF4 is shaping up nicely.  I’m still mostly focused on System.Xaml and the XAML/BAML stack for WPF4.

Application Compatibility

We’ve been testing WPF4 (with its new XAML/BAML stack) with a number of applications.  We’ll have very good application compatibility by our first Beta.  As we are working through problems that we discover, sometimes it is a bug in our new stack, sometimes a missing few lines of code (IStyleConnector wasn’t being wired correctly up until last week), and sometimes it is totally crazy stuff that the v3 era parser did.

We are taking compatibility, even with pretty crazy things, very seriously.  Our technique in System.Xaml.dll to enable compatibility is to provide a few properties on our different Settings objects that enable compatible behavior.  Users of XamlReader.Load and Application.LoadComponent in WPF will automatically have those settings turned to the compatible way.  Users of XamlServices.Load (in System.Xaml.dll) won’t have those settings set by default.  We’ll see how that feels as we complete all the settings we have.

Anyway, recently we contacted Tim, Kevin, and Adam of InterKnowlogy for C-ME and Cristian Civera for Paperboy, since we needed some assistance to understand the XAML that the apps had as we get everything running happily.

How you can help when our beta ships

We won’t be able to test all apps out there, so some apps may have undiscovered issues with our first beta. When that ships (I’ll dig into our public date for that…), we’d really appreciate it if you could test your apps and help us understand any problems you find.

The size of our change is quite large, so beta testing is critical to help flush all issues out.

Published Wednesday, January 21, 2009 6:28 AM by Rob_Relyea
Filed under: , ,

Comments

# re: Update on XAML compatibility for WPF 4@ Wednesday, January 21, 2009 11:34 AM

I literally can't wait for a release. I have numerous projects that would crash ^_^ to loose windows presentation dependencies.

Hope, it wasn't just WPF compatibility that kept us waiting. If my dreams come true, we should be able to overcome those issues by further customizing the process, right?

# re: Update on XAML compatibility for WPF 4@ Wednesday, January 21, 2009 12:54 PM

We have a number of important tasks to get done for .NET 4.0.  Build System.Xaml.dll.  Move WCF/WF/WPF runtimes to use it.

AppCompat has taken about 1/3 of our time for the last 2 months.  This has required fixes in System.Xaml.dll, and PF.dll (Baml2006Reader, ResourceDictionary deferral code, FrameworkTemplate, and XamlReader.Load).

Thanks, Rob

# re: Update on XAML compatibility for WPF 4@ Wednesday, January 21, 2009 1:52 PM

When are you shipping the beta?

# re: Update on XAML compatibility for WPF 4@ Wednesday, January 21, 2009 7:11 PM

Is there any other information on what to expect in WPF 4 anywhere? Google doesnt seem to find much other than this one page!

by Dave

# Dew Drop - January 22, 2009 | Alvin Ashcraft's Morning Dew@ Thursday, January 22, 2009 9:23 AM

Pingback from  Dew Drop - January 22, 2009 | Alvin Ashcraft's Morning Dew

# re: Update on XAML compatibility for WPF 4@ Thursday, January 22, 2009 3:18 PM

Tanveer - As I said above, I plan on figuring out the timelines that I can say...working on that.

Dave - At PDC08, there were several WPF sessions that discussed .NET 4 era features and focus areas.  I have a list of most of those sessions on this previous blog post[1].  PC46 is the one gives an overview of the roadmap.

[1] - blogs.windowsclient.net/.../pdc08-wpf-talks-amp-rob-s-schedule.aspx

# re: Update on XAML compatibility for WPF 4@ Friday, January 23, 2009 8:53 AM

Hopefully, this question is not to far off topic.

What guidance would you recommend going forward for new projects relative to using Triggers versus Visual State Manager:

   1.  Prefer using VSM instead of Triggers

   2.  Use and VSM and Triggers

   3.  Prefer using Triggers instead of VSM

# re: Update on XAML compatibility for WPF 4@ Friday, January 23, 2009 11:29 AM

Do you guys have a Beta/RC test plan due out, and if so, where do we sign up?

# re: Update on XAML compatibility for WPF 4@ Monday, January 26, 2009 11:04 AM

Hi, do you know if styles made in 3.5 for all the wpf controls will be compatible with wpf 4.0? At http://www.xamltemplates.net you can find styles for all the wpf controls but 3.0 and 3.5 framework version.

# XAML2009 and System.Xaml.dll Preview (in .NET FX 4 Beta1)@ Tuesday, May 19, 2009 7:08 PM

On May 20th, 2009, Beta 1 of .NET FX 4 and Visual Studio 2010 will be available for download 1 . We’re

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Page view counter