building windows applications rise

20
Building Windows Apps Speaker Name, Title

Upload: windowsphonevn

Post on 24-May-2015

221 views

Category:

Self Improvement


1 download

DESCRIPTION

windows phone vietnam http://windowsphonevn.net http://youtu.be/zKgPsJZ7NPg

TRANSCRIPT

Page 1: Building windows applications rise

Building Windows AppsSpeaker Name, Title

Page 2: Building windows applications rise

SimplicityNew language featuresStreamlined UI

Choice between programming for Windows 8 appsWindows 8 Store Applications:

XAML & C#/VBHTML5 & WinJSC++

Visual Studio 2012 and Windows

Page 3: Building windows applications rise

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

Page 4: Building windows applications rise

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

Page 5: Building windows applications rise

Desktop WPF and async

Demo

Page 6: Building windows applications rise

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

Page 7: Building windows applications rise

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)

Page 8: Building windows applications rise

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)

Page 9: Building windows applications rise

WinJS and Windows Store Apps

Demo

Page 10: Building windows applications rise

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

Page 11: Building windows applications rise

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

Page 12: Building windows applications rise

XAML and VB with a C# Portable Library

Demo

Page 13: Building windows applications rise

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

Page 14: Building windows applications rise

XAML C# Windows Store App

Demo

Page 15: Building windows applications rise

Contracts allow apps to interoperate…With other apps

e.g. sharingWith system services

e.g. Webcam, PlayTo media device

Using Contracts

Page 16: Building windows applications rise

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?

Page 17: Building windows applications rise

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

Page 18: Building windows applications rise

Search Integration

Demo

Page 19: Building windows applications rise

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.

Page 20: Building windows applications rise

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