38
Developing Windows 10 Universal Apps Chris Dufour, ASP .NET MVP Software Architect Follow me @chrduf http://www.linkedin.com/in/cdufour

Developing windows 10 universal apps

Embed Size (px)

Citation preview

Page 1: Developing windows 10 universal apps

Developing Windows 10 Universal AppsChris Dufour, ASP .NET MVPSoftware Architect

Follow me @chrduf

http://www.linkedin.com/in/cdufour

Page 2: Developing windows 10 universal apps

Agenda• Windows 10• Universal Windows Platform• Adaptive Design• Development Tools• Cookbook Demo App

Page 3: Developing windows 10 universal apps

Windows 10Next version of Windows… of course

Free upgrade to genuine Windows 7, Windows 8.1 and Windows Phone 8.1 devices

Windows as a service

Reinvigoration of the Windows desktop

One OS for a universe of device types

Universal Windows Platform

Page 4: Developing windows 10 universal apps

One Windows Store• One catalog

– Apps (Including WIn32)– Music– Video– Xbox Games

• One app submission for every device family

• 8x increase in purchases through carrier billing

• Updated ad SDK with video ads and install tracking

Page 5: Developing windows 10 universal apps

Windows 10 on One Billion Devices

Page 6: Developing windows 10 universal apps

Introducing the UWP

Page 7: Developing windows 10 universal apps

Mobile

Holographic Surface

Hub

XboxIoT

Desktop

Page 8: Developing windows 10 universal apps

Windows Core• One Windows kernal• One hardware platform• Universal hardware driver• Standard network and I/O• One App Model

Page 9: Developing windows 10 universal apps

One Windows

DesktopSKU

PC

2 in 1

MobileSKU

Tablet

Phablet

Phone

XboxSKU

Xbox

IoTSKU

Band

IoT headless

SKU

Raspberry Pi

Home Automat

ion

Surface HubSKU

Surface Hub

Holographic

SKU

HoloLens

Page 10: Developing windows 10 universal apps

Each family adds features to the one it inherits

Page 11: Developing windows 10 universal apps

Easy for users to get & stay

current

Unified core and app platform

The convergence journey

Windows Phone 7.5

Windows Phone 8Windows Phone 8.1

Windows 8

Xbox One

Windows on Devices

Xbox 360

Windows 8.1

Windows 10

ConvergedOS kernel

Convergedapp model

Page 12: Developing windows 10 universal apps

Phone Small Tablet

2-in-1s(Tablet or Laptop)

Desktops & All-in-OnesPhablet Large Tablet

Classic Laptop

Xbox IoTSurface Hub

Holographic

Windows 10

Page 13: Developing windows 10 universal apps

Multiple device families

PC XBoxMobile Surface Hub

HoloLensDevices +IoT

Universal Windows Apps

One Store +One Dev Center

Reuse Existing CodeOne SDK +

Tooling

Adaptive User Interface Natural

User Inputs

One Universal Windows Platform

Page 14: Developing windows 10 universal apps

Universal Windows Platform• A single API surface

– A guaranteed API surface– The same on all devices

PhoneDevice

XboxDevice

DesktopDevice

Windows Core

Universal Windows Platform

Page 15: Developing windows 10 universal apps

Apps don't target Windows 10, apps target the platform

Page 16: Developing windows 10 universal apps

• <TargetPlatform• Name="Microsoft.Universal"• minVersion="10.0.10069.0" •maxVersionTested="10.0.10190.0"/>

Page 17: Developing windows 10 universal apps

The Universal Windows Platform can update at its own cadence

Page 18: Developing windows 10 universal apps

• A single binary – Running on any device– Testing for capabilities– Adjusting to devices

PhoneDevice

XboxDevice

DesktopDevice

Windows Core

Universal Windows Platform

Windows App

Page 19: Developing windows 10 universal apps

Platform extensions• Device-specific API

– Family-specific capabilities– Compatible across devices– Unique update cadence

PhoneDevice

XboxDevice

DesktopDevice

Windows Core

Universal Windows Platform

Windows App

Phoneextension

Xboxextension

Desktop

extension

Page 20: Developing windows 10 universal apps

Extensions don't invalidate binaries on other devices

Page 21: Developing windows 10 universal apps

Universal Windows Platform• One Operating System

– One Windows core for all devices

• One App Platform– Apps run across every family

• One Dev Center– Single submission flow and dashboard

• One Store – Global reach, local monetization

Consumers, Business & Education

Page 22: Developing windows 10 universal apps

Adaptive design• Responsive design

– Flexible layout responds to small changes– Many controls handle basic responsiveness

• Adaptive design– Smart layout adjusts to large changes– Features like visual states aid in this design

• Tailored design– A device-specific app can simplify design – Some devices have unique design languages

Page 23: Developing windows 10 universal apps

Adaptive designPhone (portrait)

Tablet (landscape) / Desktop

Page 24: Developing windows 10 universal apps

Tailored designPhone (portrait)

Tablet (landscape) / Desktop

Page 25: Developing windows 10 universal apps

Continuum for Convertibles and Phones

Continuum for convertibles and Phones

Page 26: Developing windows 10 universal apps

Adaptive code• A compatible binary across devices

– Universal API with device-specific implementation

• Light up our app with capabilities– Testing for capabilities and namespaces

Page 27: Developing windows 10 universal apps

Users love apps that work great on all their devices

Page 28: Developing windows 10 universal apps

Test capabilities at runtime• Use Adaptive Code to light-up

your app on specific devicesvar api = "Windows.Phone.UI.Input.HardwareButtons";if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent(api)){

Windows.Phone.UI.Input.HardwareButtons.CameraPressed += CameraButtonPressed;} 

Page 29: Developing windows 10 universal apps

UWP

Windows Core Windows Core Windows Core Windows Core

UWP UWP UWP

Desktop Mobile Xbox More…

Page 30: Developing windows 10 universal apps

The device families you choose determines which APIs you can call freely

Page 31: Developing windows 10 universal apps

One simple, unified, integrated development environment

Page 32: Developing windows 10 universal apps

Visual Studio IDE• Every project type

– Desktop, Windows, Phone, Service, Web, Game, More…

• Every developer task– Code edit, Architecture design, UX design, Debug, Profile, Review,

Test, More…

• Every development language– C++/CX, C#, Visual Basic, JavaScript, XAML, HTML, More…

• Visual Studio Online– Source repository, project management, bug tracking, More…

Page 33: Developing windows 10 universal apps

Visual Studio 2015 RC withUniversal Windows App

Development Tools

Download Now !!!

Install latest Windows 10 OS

insider.windows.com

Install VS 2015 RC w/ Universal Windows SDK &

Toolswww.visualstudio.com

Build your first Universal Windows

App

Page 34: Developing windows 10 universal apps

Acquiring Windows 10 Tools/SDKs/Emulators

Select “Universal Windows App Development

Tools” using Custom setup option

Page 35: Developing windows 10 universal apps

Cookbook Demo App

Page 36: Developing windows 10 universal apps

Summary• Windows 10• Universal Windows Platform• Adaptive Design• Development Tools• Cookbook Demo App

Page 37: Developing windows 10 universal apps

Resources• Windows Insider Program

https://insider.windows.com

• Visual Studiohttps://www.visualstudio.com

• Microsoft Virtual Academyhttp://www.microsoftvirtualacademy.com

• Microsoft Azure Free Trialhttp://azure.microsoft.com/en-us/pricing/free-trial

Page 38: Developing windows 10 universal apps

Thank You