Ian Griffiths Principle Interact Software Ltd. Brian A. Randell Senior Consultant MCW Technologies DEV302
Agenda WPF Today and Tomorrow Model-View-ViewModel WPF and Windows 7 Deploying WPF Applications
WPF is Evolving Richer, visual Xaml designer in Visual Studio 2010 Beta 2 New built-in controls in WPF 4 Additional controls on being delivered today on CodePlex for WPF 3.x
DataGrid
Path of least resistance Where does view-specific state go? Where does behaviour live? What about long-term maintainability? View (Xaml + codebehind) View (Xaml + codebehind) EDM
Model View-Model-ViewModel EDM View (Xaml + codebehind) View (Xaml + codebehind) ViewModel and/or Domain Model Properties Command handling Properties Command handling
ViewModel
WPF Ribbon Provides Office 2007 Ribbon features Available via CodePlex Requires accepting Microsoft Ribbon License Agreement Currently not included in Visual Studio 2008 or Visual Studio 2010 Beta 2 Current drop of the Ribbon works in both.NET 3.5 SP1 projects and.NET 4.0 Beta 2 projects
Ribbon
Ribbon issues The current Ribbon has not been updated since late 2008 Scott Guthrie comments “A new WPF Ribbon Control will be available for download shortly after the release of WPF 4.” wpf-4-vs-2010-and-net-4-0-series.aspx Current Ribbon has design issues See CodePlex site for more details
Ribbon and ViewModel
Styling Visual Studio 2010 now understands: Resources Styles Basic visual property support improved Themes available on CodePlex DataGrid currently not supported Ribbon currently uses its own theme model
Styling
Windows 7 Support WPF 4 has new features to help your WPF applications “light up” on Windows 7 Multitouch Taskbar Integration Jump Lists Progress Indicator Notification Overlay Thumb Buttons
Windows 7 Features
Deployment New.NET Framework 4 Client Profile Down to 30 MB Richer platform support in contrast to 3.5 version New configuration tools Full Trust XBAP Deployment
Deployment
Summary WPF continues to evolve WPF 4 provides more rich controls making it easier to build LOB applications Get Visual Studio 2010 Beta 2 and try things out for yourself
Links Brian’s blog Ian’s blog
Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification & Training Resources Resources Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online.
Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. Required Slide