210 likes | 800 Views
TOOL-479T. Building Windows Metro style apps in C ++/XAML. Vikas Bhatia, Joanna Mason Program Managers Microsoft Corporation. Agenda. What’s new for C++ development in Windows 8 Designing XAML UI Developing with C++ Understanding the lifecycle of a Windows 8 app in VS Express
E N D
TOOL-479T Building Windows Metro style apps in C++/XAML Vikas Bhatia, Joanna Mason Program Managers Microsoft Corporation
Agenda • What’s new for C++ development in Windows 8 • Designing XAML UI • Developing with C++ • Understanding the lifecycle of a Windows 8 app in VS Express You’ll leave with an understanding of how to • Use C++/XAML to build your apps • Use VS Express for Windows 8 development
demo Magical Music
Why C++/XAML for the Magical Musicapp? • Unique, differentiated experience • Pleasing Ux • Great performance
The Team! • Joanna Mason • UI developer extraordinaire • Vikas Bhatia • Hacker beyond compare
XAMLbenefits • For WPF, SL and Windows Phone developers • Utilize current skills • Reuse compatible assets • For those new to XAML • Powerful declarative programming model • Separation of UI layer and application logic • Expressive: Controls, layout, vector drawing • Comprehensive : Styles, templates, data binding, animation • Extensible : Custom controls
Visual Studio Designer • Available today! • Core authoring UI now shared with Expression Blend • Key features • Object creation • Layout • Property editing • Create and reuse resources • Configurable design-time workspace • XAML editor and IntelliSense
demo Designing Magical Music
Benefits of the designer • Work visually when it makes sense • Fine-tune layout • Experiment with property settings • Edit document hierarchy • Edit XAML directly for precise control of markup • Flexible design-time environment • Ensure consistency by using Resources
C++ for the Windows 8 runtime • Set of language extensions and libraries to allow direct consumption and authoring of Windows runtime types. • Strongly-typed system for Windows runtime • Automatically reference counted • Exception-based • Deep integration with STL • Well defined binary contract across module boundaries
demo Developing Magical Music
C++: First class support for Metro style apps • XAML designer • C++ to access the Windows runtime • Async nature of APIs • IDE improvements • Local, simulator and remote debugging • Package your apps • Code Analysis
Other new areas for C++ developers • Accelerated Massive Parallelism (AMP) • Localization • Unit testing • Profiling
Related sessions • 741: Make Your App Stand out with XAML and Windows 8 • 504: A deep dive into VS Express for designing Metro style apps • 532: Using the Windows Runtime from C++ • 845: Tips and Tricks for Development Metro style Apps using C++ • 802: Taming GPU Compute with C++ AMP • 100: Native code analysis • 528: XAML/C++ localization • 789: Chalk Talk: Bringing Existing C++ Code into Metro style Apps • 690: Chalk TalkUnder the Covers with C++ for Metro style Apps
Calls to Action • Download Visual Studio update • Fixes an issue where the mouse drag operation does not terminate when using the designer. • Download from here • Participate in C++/XAML UX Study • La Jolla 4th floor of Hilton
Documentation and articles • Building your first Windows Metro style app • Roadmap for creating Metro style apps • Tour of the IDE • XAML designer • C++ Reference for Windows Runtime • Windows Runtime Components in C++
Contact • Vikas Bhatia: vbhatia@microsoft.com • Joanna Mason: joamason@microsoft.com
© 2011 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.