18
Windows Presentation Foundation Using Microsoft Visual Studio 2008 Mark Wilson-Thomas Program Manager, WPF designer team Microsoft Corporation

Windows Presentation Foundation Using Microsoft Visual Studio 2008

Embed Size (px)

DESCRIPTION

This session introduces many of the core features in Microsoft Visual Studio 2008 for the Windows Presentation Foundation (WPF) programming model, such as XAML, layout, controls, resources, styling, and data binding. Using Visual Studio 2008, we build a WPF-based application from scratch.

Citation preview

Page 1: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Windows Presentation Foundation Using Microsoft Visual Studio 2008Mark Wilson-ThomasProgram Manager, WPF designer teamMicrosoft Corporation

Page 2: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Understand what kind of applications Windows Presentation Foundation can deliver

See how Visual Studio 2008 & Microsoft Expression Blend work together to enable building and deploying WPF applicationsUnderstand when to use the Visual Studio WPF Design surface and XAML Editor

Know how to start achieving designer/developer workflow

What you can expect to get out of this session

A Visual Studio and WPF centered session – no Silverlight 2 and very limited Blend coverage

Page 3: Windows Presentation Foundation Using Microsoft Visual Studio 2008

WPF Applications iBloks

Page 4: Windows Presentation Foundation Using Microsoft Visual Studio 2008

WPF ApplicationsBritish Library "Turning the Pages" Rare Book Viewer

Page 5: Windows Presentation Foundation Using Microsoft Visual Studio 2008

WPF Applications Online Newspaper Reader

Check out http://windowsclient.net/wpf/starter-kits/sce.aspx

Page 6: Windows Presentation Foundation Using Microsoft Visual Studio 2008

AdventureWorks "Pulse"

demo

Page 7: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Building AW Pulse

demo

Page 8: Windows Presentation Foundation Using Microsoft Visual Studio 2008

LayoutOther layout containers supported

include Canvas and (limited

support) DockPanel StackPanel

Designer helps you use the Grid

easily

Easy control over

resize behavior

Page 9: Windows Presentation Foundation Using Microsoft Visual Studio 2008

XAML Development

Create from ToolBox support

IntelliSense for custom types

Support for consuming

licensed third-party controls

Great navigation and selection aids

Page 10: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Visual Studio is for Development TasksExpression Blend is for Design Tasks

Advanced layoutsHooking up eventsCode editing (C#, VB)XAML editingDebuggingDeployment

Advanced layoutsControl Template EditsTriggersData templates AnimationManipulating Transforms

XAML (especially resource dictionaries) Shared WPF Project Templates

Page 11: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Deployment

Full ClickOnce publishing support in Visual Studio and SDK.NET FX redists for down-level deploymentVisual Studio Windows Installer support for stand-alone WPF applicationsXBAPs supported in IE and (since .NET 3.5) in Firefox on PC

Page 12: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Break It Down iBloks

Page 13: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Break It Down iBloks

Page 14: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Tools Futures…

Visual Studio 2008 SP begun – some key feedback responded to

Events TabTabControl design timeGo to definition/Refactoring support for XAMLLots more XAML will load

Silverlight 2 Tools Release Support for creating Silverlight 2 applicationsWorkflow with Blend (currently in preview)

Continued investment in developer productivity planned

Page 15: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Summary

WPF enables rich user experiences that incorporate UI, media, and documents WPF tools in Visual Studio 2008 enables application development; our goal is to make this even easierVisual Studio and Expression Blend allow full fidelity flow between design and development tasks on a common set of assets

Page 16: Windows Presentation Foundation Using Microsoft Visual Studio 2008

Questions?

Ask away!…and come and chat with the designer team in the Open Space down in the Sandbox Area 1 afterwards!…and comment on the video thread once this session’s posted online

Please don’t forget your Evals…

Page 17: Windows Presentation Foundation Using Microsoft Visual Studio 2008

© 2008 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.

Page 18: Windows Presentation Foundation Using Microsoft Visual Studio 2008