What's New in WPF 3.5? Here's Fifteen Cool Features...

What's New in WPF 3.5? Here's Fifteen Cool Features...

Rate This
  • Comments 36

A lot of WPF developers know that Visual Studio 2008 will include much better baked-in support for WPF - the "Cider" team have delivered a WPF forms designer, high-quality XAML Intellisense built on top of a XAML language service rather than an XSD, a full set of project templates and integration between WinForms and WPF design-time views. But not so many people are aware of the enhancements we're making behind the scenes to the core WPF runtime, both in terms of polishing off a few rough edges and adding a small number of targeted features that will unblock a few key scenarios.

I thought I'd steal liberally from a presentation the famous Kevin Moore (of WPF Bag'o'Tricks fame) delivered at an internal field conference this week, and give you a quick run-down of some of the new capabilities you'll find in this updated release. Make sure you download a copy of Visual Studio 2008 Beta 2 and check out both the design-time improvements and the enhanced platform features.

Here's a non-exhaustive list of improvements:

  • Performance
    • Fixed animation glitching issues.
    • Layered windows are now hardware accelerated.
    • Many other fixes to improve cold start, data binding, etc.
  • Data Binding
    • Support for XLINQ binding.
    • Improved data validation on binding (ValidatesOnDataErrors and ValidatesOnExceptions binding properties).
    • Much better debugging (PresentationTraceSources.TraceLevel can be set on bindings or providers).
  • Graphics and Text
    • UIElement3D (enables interactive 2D content on 3D surfaces).
    • Improved support for IMEs (input method editors).
    • Indic script support.
    • TextBox now supports a limited undo history.
    • RichTextBox now fully supports inline elements (e.g. a Button).
  • XBAPs
    • Introduced support for the Firefox browser.
    • WCF now operates in partial-trust mode.
    • Can now read/write HTTP cookies.
  • App Model
    • System.AddIn provides support for isolated visual and non-visual add-ins, allowing for discovery, versioning, activation and lifecycle management.

Most of the performance improvements and some of the feature improvements will also be included in a forthcoming service pack for .NET Framework 3.0 - I don't think we've talked externally about delivery mechanisms for this at this stage, however.

For more information, your first point of reference should of course be the Visual Studio 2008 Beta 2 documentation. I'm going to see if I can film a Channel 9 video with Kevin over the next week, so we can demo some of these new features to you. Feel free to add a comment to this blog if there's something specific you'd like to ask for more information about, and we'll try to capture it.

  • Tim Sneath has two exciting posts up on his blog: Silverlight 1.0 RC 1 Is Here What's New In WPF 3.5?

  • What would be really really really helpful would be if 3.5 is included in SP1 for Vista...since as you know getting the right version of the Framework on client desktops has always been a headache.

  • I fired up a 3.0 XBAP in Firefox and it just worked!  Very cool!  So far this feature hasn't gotten any real coverage, so it would be nice to get some details on how it works, what are the limitations, (no forward/back integration), etc.

  • I often skip the "xyz" has shipped announcements.. but VS2008 "orcas" beta2 is packed with so much goodness

  • Would WPF 3.5 be compatible with Milcore remoting? Are we going to see performance improvements there?

  • Le support du déploiement XBAP dans Firefox, la possibilité d'appeler un service WCF depuis une XBAP

  • Le support du déploiement XBAP dans Firefox, la possibilité d'appeler un service WCF depuis une XBAP

  • "Layered windows are now hardware accelerated."

    Does this mean I could resize or apply animation to a layered window without the lagging issue?

    More information on this please, as it was said that .net 3.0 is hardware accelerated...

    - Dan

  • 1) What do you mean by "fixed animation glitching issues". Does this mean there is no need to resort to "CompositionTarget.Rendering" anymore?

    2) Could you elaborate on the improvements to data binding and how they can be taken advantage of. What are the best practices for achieving high-performance data binding over a large data set given the new enhancements?

  • What do you mean 'layered windows are now hardware accelerated'?

    We've been told they are already accelerated on Windows Vista. Do you mean they are now accelerated on Windows XP?

    To what extent? I mean there are just plain Opacity property and there are full per-pixel Alpha channel transparency using Window.AllowsTransparency. Which kind of transparency is accelerated and on which platforms/OS versions?

  • Does WPF 3.5 supports Common Dialogs?

  • Dr Tim Sneath gives a overview of what is new in WPF 3.5 http://blogs.msdn.com/tims/archive/2007/07/27

  • One feature I still miss is the autocomplete support for TextBox. I wonder why no one has paid any attention to it.

  • Fala pessoal!Como tinha prometido, no post de 5 minutos atrás, vou falar um pouquinho das novidades...

Page 1 of 3 (36 items) 123