building windows applications rise
DESCRIPTION
windows phone vietnam http://windowsphonevn.net http://youtu.be/zKgPsJZ7NPgTRANSCRIPT
Building Windows AppsSpeaker Name, Title
SimplicityNew language featuresStreamlined UI
Choice between programming for Windows 8 appsWindows 8 Store Applications:
XAML & C#/VBHTML5 & WinJSC++
Visual Studio 2012 and Windows
Windows 8 Technology Paths
.NETWinForm
s
.NET/XAML WPF
.NET/XAML
Silverlight
HTML/JSASP.NET
.NETWinForm
s
.NET/XAML WPF
.NET/XAML
Silverlight
HTML/JSASP.NET
HTML/JSWinRT
.NET/XAMLWinRT
C++/XAML/DX
Desktop HTML/BrowserWindows 8
Windows 7
Windows 8
Your existing investment remains sound
Visual Studio 2012 has a ton of great featuresSolution round-trippingMulti-targetingEnhanced, rich WPF editor
.NET framework 4.5 brings new featuresBuilt-in support for asynchronous execution makes it easy to build rich, responsive applications
Desktop Applications
Desktop WPF and async
Demo
New designers for all Windows Store apps
Shared architecture with Blend
Language projections over WinRT meansHTML and JavaScriptVisual Basic and XAMLVisual C++ and XAMLVisual C# and XAMLVisual C++/DirectX
Building Windows Store Apps
Simplified Windows Platform for HTMLSingle consistent platformSingle HTML5 DOCTYPE
Web standards, plug-in free
Full-screen and docked apps
Full access to Windows Runtime (WinRT)
Library for building Windows Store apps using JavaScript
Make your apps ‘look and feel’ greatMatches Windows Store Apps style (controls, touch-control, scaling, etc.)
Build your apps fast and with high qualityWhen you’re already familiar with web technologies Modern patterns for reliable appsUse interactive VS design tools
Windows Library for JavaScript (WinJS)
WinJS and Windows Store Apps
Demo
Leverage existing investment in VB/C# codeMuch of your existing code can be ported into the new worldAll of your experience is very useful!
Leverage existing investment in XAML codeMost of your experience with Silverlight & WPF is directly applicable
Data binding, Users Controls, etc.New frameworks and components, but many familiar old favorites
<Grid />, <StackPanel/>, <Button />DependencyProperty and related.
VB/C# & XAML—Windows Store Apps
Portable Libraries
One DLL, multiple platformsCode against API subset common to selected targets
Select versionsBack to .NET 4, Silverlight 4, or Windows Phone 7.0
XAML and VB with a C# Portable Library
Demo
Choose your VS project type / templateThe standard project types all support slightly different navigation models…Save time and learn some principles and best practices!!
Think about navigationAll Windows Store Apps support a page-based navigation modelThey can be Activated and Deactivated
Think about layout and orientationResolutionPortrait / LandscapeRotation
XAML Windows Store Apps
XAML C# Windows Store App
Demo
Contracts allow apps to interoperate…With other apps
e.g. sharingWith system services
e.g. Webcam, PlayTo media device
Using Contracts
It’s a declaration about access requirements to any serviceDeclared in XML App manifest fileEditor & configuration support in Visual Studio 2012
Users can make decisions based on declarations
The runtime prevents your app from using capabilities it hasn’t declared
What is a Capability?
Your app needs to work within the Windows 8 application modelIt may be deactivated, and reactivatedSo it may need to preserve its state
It may be activated through a contracte.g. through the Search UI
Activation
Search Integration
Demo
Building Windows AppsYour existing applications are alive and wellNew features like async can make them better
Windows Store App development your wayXAML + VB/C#HTML + JavaScriptC++/DirectX
Windows Store AppsExciting changes with familiar development experience
Visual Studio 2012 provides the tools you needGet started now building great applications to sell on the Windows Store.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.