250 likes | 401 Views
Enabling Rich Business Clients with Windows Presentation Foundation . Brian A. Randell Senior Consultant MCW Technologies DEV302. Ian Griffiths Principle Interact Software Ltd. Agenda. WPF Today and Tomorrow Model-View- ViewModel WPF and Windows 7 Deploying WPF Applications.
E N D
Enabling Rich Business Clients with Windows Presentation Foundation Brian A. Randell Senior Consultant MCW Technologies DEV302 Ian Griffiths Principle Interact Software Ltd.
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
demo DataGrid
Path of least resistance • Where does view-specific state go? • Where does behaviour live? • What about long-term maintainability? View (Xaml + codebehind) EDM
View-Model-ViewModel View (Xaml + codebehind) ViewModel Properties Command handling Model EDM Domain Model and/or
demo 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
demo 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.” • http://weblogs.asp.net/scottgu/archive/2009/10/26/wpf-4-vs-2010-and-net-4-0-series.aspx • Current Ribbon has design issues • See CodePlex site for more details
demo 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
demo 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
demo 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
demo 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 http://www.mcwtech.com/blogs/brianr/ • Ian’s blog http://www.interact-sw.co.uk/iangblog/
Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Resources • www.microsoft.com/teched Sessions On-Demand & Community • www.microsoft.com/learning • Microsoft Certification & Training Resources • http://microsoft.com/technet • Resources for IT Professionals • http://microsoft.com/msdn Resources for Developers
Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!
Required Slide © 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.