190 likes | 415 Views
Platform for Metro style Apps. Ale š Holeček Distinguished Engineer Windows Developer Experience. Key investments. New Windows Runtime ( WinRT ) APIs New App Execution Environment. Windows 8. XAML. Desktop Apps. Metro style Apps. View. HTML JavaScript. C# VB. HTML / CSS. C
E N D
Platform for Metro style Apps AlešHoleček Distinguished Engineer Windows Developer Experience
Key investments • New Windows Runtime (WinRT) APIs • New App Execution Environment
Windows 8 XAML Desktop Apps Metro style Apps View HTML JavaScript C# VB HTML / CSS C C++ Model Controller JavaScript C C++ C# VB WinRT APIs Devices & Printing Communication & Data Graphics & Media System Services Application Model .NET SL Internet Explorer Win32 Windows Kernel Services Kernel
demo Hello WinRT in C++
What did we see… • All WinRT APIs are native • XAML used from C++ • Reuse of portable C++ code just works
Metro style application APIs User Interface HTML5/CSS XAML DirectX Controls Data Binding SVG Tiles Input Accessibility Printing Devices Communications & Data Web Contracts Geolocation Portable Sensors NFC Local & Cloud Storage Streams Notifications Media SMS Background Transfer XML Networking Visual Effects Playback Capture PlayTo Fundamentals Application Services Threading/Timers Memory Management Authentication Cryptography Globalization
demo WinRT in C#
What did we see • WinRT APIs feel natural in C# • WinRT APIs provide rich access to device, OS and services • WinRT APIs are asynchronous
App Execution Environment Your App Core OS Process.exe WinRT APIs Direct API calls Broker Brokered API calls App Container + Signed & Validated code AppXManifest
Process State Transitions Terminated App suspending Running App Suspended App Low Resources resuming
demo WinRT from JavaScript Building Camera App
In-box Controls for Metro Style Apps Button Text Box Grid View Clear Button Spell Checking Checkbox Radio Button Progress Ring Progress Bar Combo Box Hyperlink Context Menu Flyout Password Reveal Button List View Semantic Zoom Rating Slider Flip View List Box Scroll Bar Toggle Switch Tooltip Panning Indicator App Bar
What did we see so far • HTML5/CSS/JavaScript great for Metro Apps • New improvements to HTML platform • Rich set of controls • Reusing WinRT components is easy • Using contracts is easy
Go http://dev.windows.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.