become a windows 8 and windows phone app developer at techdays

65
Ben Riga Technical Evangelist Microsoft Become a Windows 8 and Windows Phone App Developer at TechDays

Upload: microsoft-developer-network-msdn-belgium-and-luxembourg

Post on 06-May-2015

1.423 views

Category:

Documents


0 download

DESCRIPTION

More info on techdays.be

TRANSCRIPT

Page 1: Become a Windows 8 and Windows Phone App Developer at TechDays

Ben RigaTechnical EvangelistMicrosoft

Become a Windows 8 and Windows Phone

App Developer at TechDays

Page 2: Become a Windows 8 and Windows Phone App Developer at TechDays

Follow me or Kitty gets it!!!

http://about.me/ben.riga

Page 3: Become a Windows 8 and Windows Phone App Developer at TechDays
Page 4: Become a Windows 8 and Windows Phone App Developer at TechDays

Common UX Design Platform

Users learn it onceUse it everywhere

http://aka.ms/wpuxprinciples

Page 5: Become a Windows 8 and Windows Phone App Developer at TechDays

SESSION: Design

Putting the Microsoft Design Language to work

Laurent Bugnion Mar 6 – 14:30-15:45

Room 6The new Microsoft Design Language (formerly known as Metro) has taken the tech world by surprise. It brings a refreshing change from hyper realistic design, and offers a welcomed alternative to the other mobile platforms. From Zune and then Windows Phone, the Microsoft Design Language is now used on a number of platforms and devices, notably on Windows 8 apps. In this session, we will see how we can practically convert the five design principles and put them to work, by studying real life applications and understanding how they were applied.

Page 6: Become a Windows 8 and Windows Phone App Developer at TechDays

480mi

llion

Windows devices will be sold October 2012 to December 2013 (according to IDC)

The Single Largest Developer Opportunity Ever

Page 7: Become a Windows 8 and Windows Phone App Developer at TechDays

Over 400 unique apps included

More $ than Windows Phone 7

Big Splash with Windows 8

“A Phone for Each of Us”

The New Windows Everywhere!

Marketing to match the engineering investment

A LOT more TV ads

Page 8: Become a Windows 8 and Windows Phone App Developer at TechDays

Global reach (191 markets)Exceptional discoverability Spotlight promotion

OEM Storefronts and preloads

Commerce model support Paid downloads and in-app purchases

Trials (Time and feature-based)

Keep 70% of revenue (80% above 25k, W8 only)

Most ways for users to pay CC, PayPal, Carrier Billing (WP only)

Flexible ad approach Microsoft Advertising SDK

Use 3rd party SDKs or your own solution

More complete analytics Detailed Analytics on app usage and referrals

Aggregate demographic information

Store: Better for Your Business

Page 9: Become a Windows 8 and Windows Phone App Developer at TechDays

New ways of finding apps8 in

SpotlightQuick Links

Collections For You

Smart ListsHero App

8.0

Page 10: Become a Windows 8 and Windows Phone App Developer at TechDays

Immersive experiences

Contextual integration of apps

Live tiles, notifications, charms and contracts provide a new level of OS integration

Every on-screen pixel is dedicated to your app with a clean and open layout

IE 10 + WebBrowser control offer HTML 5 and expanded CSS support

Page 11: Become a Windows 8 and Windows Phone App Developer at TechDays

World-class development experience

Project templates for Direct3D apps and with enhanced localization support

App monitoring and profiling thru Windows Phone Application AnalysisNew Simulation Dashboard tests your app for real-life conditions

New Windows emulator runs as a hyper-V virtual machine

New manifest designer allows you create or modify your app manifest thru a user friendly UI

Page 12: Become a Windows 8 and Windows Phone App Developer at TechDays

SESSIONS: Tools

Diagnostic Tips and Tricks for Windows Store Applications using Visual Studio 2012

Brad Sullivan

Mar 6 – 17:45-19:00

Room 2With Windows 8, developing apps for the Windows Store is the hot new thing.  Visual Studio 2012 enables you to get a high quality application deployed to the Windows Store quickly be providing a broad set of tools that can be used to quickly find and fix bugs in your applications.  This session will demonstrate a wide variety of tips and tricks using the Visual Studio debugger and profiler to diagnose correctness, reliability, and performance issues in your applications.  This session is applicable whether you are developing your application with C#, VB, C++, JavaScript, or a combination of these.

Building & Testing a Windows 8 App, making use of TFS and Microsoft Test Manager 2012 Kevin DeRudder, Pieter Gheysens,

Mar 7 – 16:15-17:30

Room 6Visual Studio 2012 offers you all the required dev tools to build nice looking Windows 8 Applications, but together with the Application Lifecycle Management tools in Team Foundation Server 2012, you can now also easily setup a distributed team development environment with version control, work item management, build automation and test case management. In this session, you will get a quickstart to develop a Windows 8 app, making use of Team Foundation Server in the cloud (TFS Preview). We will also demo the advanced testing features in Microsoft Test Manager 2012 to run Exploratory Tests on Windows 8 applications to detect potential bugs and to capture rich visual debugging information for the development team.

Page 13: Become a Windows 8 and Windows Phone App Developer at TechDays

Full support for corporateLine of Business (LoB) apps

Leading application platform:Windows Server, SQL Server, System Center

Full set of back-end services thru Azure

Device management via MDM(e.g., System Center or InTune)

Built for Business

The Contoso Hubmy apps my

workplacewhat’s new

related stuff

IT Support Invoices

ConnectData Center

Welcome info

Career Development

HR & Benefits

Holiday Calendar

Community

Contoso.com

Timesheets dueContoso_hr, Jan 12, 2012

#contoso on twittercontosocial, Jan 5, 2012

Holiday party infocontosocial, Dec 5, 2011

Company of the yearContoso_hr, Dec 1, 2011

0

4

8

0

Other Stuff

get more Contoso apps

Org Chart

Removed devices revoke corporate apps and related corporate data

Page 14: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows Phone 8 App Windows 8 App

Shared C++ Component

Shared IE10 Component

Shared Managed Component

Common API Set

Graphics Audio Media

File System Networking Input

Commerce Base Types Sensors

Common.NET FX

Core CLR

Common OS Technology

Driver Model Security Web Browser

Shared Core

Page 15: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows Phone 8 App Windows 8 App

C++/Native Code

HTML + JavaScript

Managed Code

XAML UI Framework

.NET Code(C#; VB.NET)

Windows RuntimeAPIs

Partner Runtime Engines

DirectX 11 Native Interop Component

Windows RuntimeAPIs

IE10 Web Browser Control

Partner Runtimes & Game Engines

Shared Programming Model

Page 16: Become a Windows 8 and Windows Phone App Developer at TechDays

SESSIONS: Cross-Platform DecisionsBuilding SPA’s (Single Page App) with Backbone.js

Richard Griffin

Mar 7 – 14:30-15:45

Room 6The aim of the session will be to provide an overview of Backbonejs and how you can build a SPA using this JavaScript framework that is gaining popularity. Using the code base from the x-Device, x-Platform SPA we will port to WinJS and discussing the changes to the code that need to be made in order to support the design and experience differences that are required to turn your SPA into a Windows 8 store app. And of course this all works in Expression Blend

Building Cross Platform Mobile Solutions (Sponsor Session)

Gitte Vermeiren

Mar 7 – 10:45-12:00

Room 2 Mobile is hot, but developers wanting to target as many platforms as possible often need to rewrite entire code bases. A lot can be achieved by utilizing HTML5 and JavaScript solutions like PhoneGap, but this way of working is inherently slower than using native code. Also, developers prefer sticking to their favorite language. For .NET developers, we also have the option of using MonoDroid or MonoTouch, using your own language with the power of developing for a native platform. In this session we will build a cross platform mobile solution from the ground up. Giving you tips and tricks to get the highest form of reuse.

Page 17: Become a Windows 8 and Windows Phone App Developer at TechDays

Platform for buildingWindows Store Apps

Page 18: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows reimagined

New fast and fluid Start screen

Everything great about Windows 7 we made even better

Touch, mouse, keyboard

Page 19: Become a Windows 8 and Windows Phone App Developer at TechDays

Great experience across all hardware

Tablets to laptops to all-in-ones

Highest power to the most efficient chipset

Touch, mouse, keyboard

Page 20: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows 8 Experience

Fast and fluid user experienceResponsive, alive, beautiful

Immersive and full-screen Focuses attention on your apps

Touch-first with full keyboard and mouseEnables your choice of interaction

Web of apps working together Apps are connected to each other and the cloud

Experience for all PC devices and architecturesNo compromise across new form factors, desktops and laptops

Page 21: Become a Windows 8 and Windows Phone App Developer at TechDays

Platform Investments

Page 22: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows 8 Platform

Windows Store Apps

HTMLJavaScrip

t

CC++

C#VB

Desktop Apps

Win32

.NET / SL

Internet Explore

r

Communication

& Data

Application Model

Devices & Printing

WinRT APIsGraphics &

Media

Syst

em

Serv

ices

JavaScript(Chakra)

CC++

C#VB

XAML HTML / CSSVie

wM

od

el

Contr

olle

r

Windows Core OS ServicesCore

Page 23: Become a Windows 8 and Windows Phone App Developer at TechDays

Language projections

WindowsRuntime

Object(or Component)

Writtenin C++, C#, VB

Windows Metadata

C++ App

Pro

jecti

on

CLR

C#/VB App

Pro

jecti

on

HTML AppCh

akra

Pro

jecti

on

Page 24: Become a Windows 8 and Windows Phone App Developer at TechDays

SESSIONS: Choose your languageLive coding: The Windows Store Apps showdown - C# vs JavaScript

Iris Classon

Mar 6 – 13:00-14:15

Room 2Join me on an intense live coding session where I create the same Windows Store App using two different languages, C# and JavaScript. We will cover everything from core concepts to more advanced concepts while highlighting and comparing similarities and differences between the two implementations. Be prepared for an entertaining, split personality type of technical session as the two languages show their way of doing things. You wouldn’t want to miss this showdown!

Blazing Fast Windows 8 Apps using Visual C++

Tarek Madkour

Mar 7 – 13:00-14:15

Room 2Come and learn about the latest and greatest C++ performance features. Windows 8 opens a new world of Windows applications targeted at tablets and mobile devices. Visual C++ enables developers to create amazing Windows 8 applications that are fast and fluid even on the thinnest, lightest and most restricted devices. This talk will describe how Visual C++ helps you take advantage of the advancements in hardware from Intel, ARM and AMD to provide best-in-class application performance. We start with automatic performance features such as auto-vectorization and auto-parallelization, then progress to PPL and finally tie in the new C++ AMP language extensions.

Page 25: Become a Windows 8 and Windows Phone App Developer at TechDays

Key Investments

New Windows Runtime (WinRT)

New App Execution Environment

New Windows 8 User Experience

Windows Store

Page 26: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows Runtime APIs

FundamentalsApplication

Services Threading/Timers Memory Management Authentication Cryptography Globalization

Devices

Geolocation Portable Sensors NFC

User Interface

SVG Tiles Input Accessibility Printing

HTML5/CSS XAML DirectX Controls Data Binding

Communications & Data

Memory Management XML Networking SMS

Notifications Streams

Contracts Local & Cloud Storage Web

Media

Playback Capture PlayTo Visual Effects

Page 27: Become a Windows 8 and Windows Phone App Developer at TechDays

Traits of a great app experience

Leverage Microsoft design

Be Fast and fluid

Snap and scale beautifully

Use the right contracts

Invest in a great Tile

Feel connected and alive

Roam to the cloud

Embrace Microsoft design principles

Page 28: Become a Windows 8 and Windows Phone App Developer at TechDays

App Execution Environment

Page 29: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows Store app acquisition

Windows Store

backend

Package ManagerWindows

Store install

Execution Engine

Extension

Handler

stage Single instance store

register Registration Information

Page 30: Become a Windows 8 and Windows Phone App Developer at TechDays

Building blocks of an app package App Manifest contains all information needed to deploythe app

Blockmap contains hashes of all files within the app package

Signature validates the integrity of the app package

AppXManifest.xml

BlockMap

Signature

Zip Central Directory

Files / Assets

.appx package

Page 31: Become a Windows 8 and Windows Phone App Developer at TechDays

App manifest and capabilities Explicitly declares the app integration endpoints File capabilities (music/pictures/videos/documents libraries,

removable storage) Devices (webcam, microphone, location, sms, proximity);

extensible to new device classes Network and identity (internet, private network, credentials) File type associations App contracts (search, share, etc.)

Contained in appxmanifest.xml; Visual Studio provides editor

Page 32: Become a Windows 8 and Windows Phone App Developer at TechDays

Process Isolation

OS

User data Devices Communications Handlers Tiles Cryptography … …

Bro

ker

s

Process1Local context

Web contextAppData

Local Temp Roaming

Contracts

Process2Local context

Web contextAppData

Local Temp Roaming

Dire

ct A

PIs

Page 33: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows reimaginedA new Windows UI where touch is a first-class citizen along with full mouse-and-keyboard support

New development models built on WinRT, including native support for HTML/CSS/JS, C#/XAML, C++/DirectX

Designed from the chipset up for multiple form-factors – tablets, laptops, desktops & all-in-ones

The Windows Store on every device with a full commerce platform and flexibility

Page 34: Become a Windows 8 and Windows Phone App Developer at TechDays

SESSION: Windows 8

Beat the Clock: Background Tasking in Windows 8

Jeff Prosise Mar 7 – 09:00-10:15

Room 6Windows 8 apps that aren’t in the foreground are suspended by the operating system, but the background task API allows these apps to execute code in the background. This session introduces background processing in WinRT and provides numerous examples of its use.

Page 35: Become a Windows 8 and Windows Phone App Developer at TechDays

8 Things DevelopersMust Know About Windows Phone 8

Page 36: Become a Windows 8 and Windows Phone App Developer at TechDays

SESSION: Windows Phone Overview

Windows Phone 8 for Windows Phone 7 Developers

Jeff Prosise Mar 6 – 16:15-17:30

Room 2Windows Phone 8 combines the best of Windows Phone 7 with the best of WinRT, resulting in a platform that provides more opportunities than ever for mobile developers. Join the fun as Jeff leads a guided tour through the new features of Windows Phone 8 and provides the quick start you need to start writing apps today.

Page 37: Become a Windows 8 and Windows Phone App Developer at TechDays

Shared WinRT Core

1

Page 38: Become a Windows 8 and Windows Phone App Developer at TechDays

Shared WinRT Core

1

Page 39: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows Phone 8 Programming APIs

Windows Phone 8 supports Managed app dev using

the WP7.1, WP8.0 .NET and Windows Phone Runtime APIs

Native app dev using Windows Runtime and Win32

Games dev using the WP7.1 XNA framework

Games dev using Direct3D or DirectX

.NET API for Windows

Phone

Windows Runtime

Win32 & COM

Managed Managed & Native

Native

WP7.1 XAML & C#/VB

WP8.0 XAML & C#/VB

WP8.0 Games DirectX/Direct 3D & C++

WP7.1 XNA & C#/VB

WP8.0 XAML & C#/VB with Direct3D Graphics

+ C++

+ C++

Page 40: Become a Windows 8 and Windows Phone App Developer at TechDays

Investment in Windows Runtime API

NetworkingProximityIn-App PurchaseSensorsLocationFile SystemCore app modelThreading

Page 41: Become a Windows 8 and Windows Phone App Developer at TechDays

SESSIONS: Building for Both Windows 8 and Windows PhoneApplied MVVM in Windows 8 apps: not your typical MVVM session!

Gill Cleeren

Mar 7 – 14:30-15:45

Room 8For some time now, the community has been touting the MVVM pattern as being the best way to build XAML-based applications. By now, you should be convinced that MVVM is really the way to go. But then, you start building a real-world Windows 8 application and you encounter all kinds of challenges you hadn’t thought about before. How do I properly structure an application? How do I implement navigation? How do I manage tiles or contracts from MVVM? And how do the new data controls in Windows 8 work in combination with MVVM? A whole list of questions that this session will aim at answering!

Sharing code and best practices in Windows 8 and Windows Phone 8

Laurent Bugnion

Mar 7 – 13:00-14:15

Room 6In a perfect world, we would write code once and run it everywhere. Well this is not a perfect world, but we are getting closer. Windows 8 and Windows Phone 8 both run on XAML and C#, and allow reusing tools, skills and a fair percentage of code. In this session, Laurent Bugnion, the creator of the MVVM Light Toolkit and an expert in XAML development, will present ways to share code (such as using the Portable Class Libraries) and how to structure your applications to minimize the amount of non-reusable code. We will also leverage modern development tools (Visual Studio, unit testing, Expression Blend) to see how we can adapt our skills and build apps for multiple platforms.

Page 42: Become a Windows 8 and Windows Phone App Developer at TechDays

Native Code for Killer Games

2 Native game development platform based on DirectX

Developers can write the same game for Windows 8 and Windows Phone

Page 43: Become a Windows 8 and Windows Phone App Developer at TechDays

Native Code for Killer Games

2

Page 44: Become a Windows 8 and Windows Phone App Developer at TechDays

Native Code for Killer Games

2

Page 45: Become a Windows 8 and Windows Phone App Developer at TechDays

Internet Explorer 10

3 4x faster JavaScript performance

2x HTML5 feature support

In-Browser Multi-Touch Capabilities

Page 46: Become a Windows 8 and Windows Phone App Developer at TechDays

Speech

4 Integrate speech-to-text and text- to-speech with Speech APIs

15 supported languages

Voice commands to open apps from start screen

Page 47: Become a Windows 8 and Windows Phone App Developer at TechDays

Proximity APIs

5 NFC

Tap-to-Share

NFC Tags

Device-to-Device

Bluetooth APIs

Page 48: Become a Windows 8 and Windows Phone App Developer at TechDays

SESSION: NFC

Tap and Go: Proximity Networking in WinRT

Jeff Prosise Mar 7 – 10:45-12:00

Room 6Tap two devices together and transfer data between them? You bet! Learn about the Near-Field Communication (NFC) API in Windows 8 and Windows Phone 8 and see how to put them to work to connect devices more easily than ever before. The future is here, and it is spelled NFC.

Page 49: Become a Windows 8 and Windows Phone App Developer at TechDays

Nokia Map Technology

6 Excellent global NAVTEQ map data

Download map data for offline use

Turn-by-turn directions

Background location tracking

Page 50: Become a Windows 8 and Windows Phone App Developer at TechDays

Pictures and Lenses

7 Lens apps integrate into the camera

Auto-upload pictures to web service

Page 51: Become a Windows 8 and Windows Phone App Developer at TechDays

The

8Start ScreenMy

Page 52: Become a Windows 8 and Windows Phone App Developer at TechDays

3 Tile Types

8Iconic

Flip

Cycle

Page 53: Become a Windows 8 and Windows Phone App Developer at TechDays

3 Tile Sizes

8 Small

Medium

Wide

Page 54: Become a Windows 8 and Windows Phone App Developer at TechDays

Lock Screen Access

8 Lock Screen Backgrounds

Lock Screen Text

Lock Screen Notifications

Page 55: Become a Windows 8 and Windows Phone App Developer at TechDays

More than an app

Page 56: Become a Windows 8 and Windows Phone App Developer at TechDays

Push Notifications with Windows Azure Mobile Services

Page 57: Become a Windows 8 and Windows Phone App Developer at TechDays

What is Windows Azure Mobile Services?

Data

Notifications

Auth

Server Logic

Scale

Logging

Diagnostics

Page 58: Become a Windows 8 and Windows Phone App Developer at TechDays

Windows Azure

Cloud enable your Windows Store Apps with Mobile Services

Nick Harris Mar 6 – 14:30-15:45

Room 2Join us for a demo packed session, as I demonstrate how to build a Windows 8 application and bring it to life with the connected power of Windows Azure Mobile Services. We’ll look at how easy it is to add authentication, secure structured storage, send push notifications to update live tiles, integrate with Windows Azure Store partners such as Twilio & SendGrid and more!

Page 59: Become a Windows 8 and Windows Phone App Developer at TechDays

What do I do next?

Page 60: Become a Windows 8 and Windows Phone App Developer at TechDays

Publish to 191 markets (free or paid)

Store available for Developers and Consumers in 191 countries or regions. A subset of these countries allows developers to submit only free apps.

191 consumer countries available only for Windows Phone 8. Windows Phone 7.5 is available in 63 consumer countries or regions.

Submit to all 120+

new countries or

regions!

http://aka.ms/wpdevregionshttp://aka.ms/windevregions

Page 61: Become a Windows 8 and Windows Phone App Developer at TechDays

Monetize on your own terms

Higher revenue sharing

MO billing gives you access to millions of new customers

Complete merchandising engine to promote your apps

Access to global markets in local languages and currencies

In-app purchase support, including consumable and durable goods; receipts store in Marketplace

Page 62: Become a Windows 8 and Windows Phone App Developer at TechDays

A Better Monetization Equation

Business Model Market Reachx Payment Methods

x =Higher

MonetizationPer User

Download to Own

Try before you Buy

AdvertisingIn App

Purchase

63 ->191 markets

Credit CardDebit Card

Phone BillingMicrosoft Gift

CardPayPal

x x =

More ModelsMore Places

More Ways to Pay

4x the revenue 3x the reach 2x the payment coverage

Page 63: Become a Windows 8 and Windows Phone App Developer at TechDays

Next Steps

Start with Windows http://dev.windows.com Download the Win 8 SDK

http://aka.ms/vsexp4win8 Create your first Win 8 app (C#)

http://aka.ms/win8first Port an existing app (iOS)

http://aka.ms/win8ios Design a high quality Win 8 app

http://aka.ms/win8design Register to publish on Win 8 Store

http://aka.ms/win8reg Test your Win 8 app

http://aka.ms/win8test Publish your Win 8 app

http://aka.ms/win8reg

Start with Windows Phone http://dev.windowsphone.com Download the WP8 SDK

http://aka.ms/wp8sdk Create your first WP8 app

http://aka.ms/wp8first or Port an existing app

http://aka.ms/wp8port Design a high quality WP8 app

http://aka.ms/wp8design Register to publish on the WP8 Store

http://aka.ms/wp8register Test your WP8 app

http://aka.ms/wp8test Publish your WP8 app

http://aka.ms/wp8publish

Page 64: Become a Windows 8 and Windows Phone App Developer at TechDays

Follow me or Kitty gets it!!!

http://about.me/ben.riga

Page 65: Become a Windows 8 and Windows Phone App Developer at TechDays