Developing
Windows 10 Universal Apps
Chris Dufour, ASP .NET MVP
Software Architect
Follow me@chrduf
http://www.linkedin.com/in/cdufour
Agenda
• Windows 10
• Universal Windows Platform
• Adaptive Design
• Development Tools
• Cookbook Demo App
Windows 10
Next 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
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
Windows 10 on
One Billion Devices
Introducing
the UWP
XboxIoT
Windows Core
• One Windows kernal
• One hardware platform
• Universal hardware driver
• Standard network and I/O
• One App Model
One Windows
Desktop
SKU
PC
2 in 1
Mobile
SKU
Tablet
Phablet
Phone
Xbox
SKU
Xbox
IoT
SKU
Band
IoT headless
SKU
Raspberry Pi
Home
Automation
Surface Hub
SKU
Surface Hub
Holographic
SKU
HoloLens
Each family adds features
to the one it inherits
Easy for users to
get & stay current
Unified core
and app platform
The convergence journey
Windows 10
Converged
OS kernel
Converged
app model
Phone Small Tablet
2-in-1s
(Tablet or Laptop)
Desktops
& All-in-OnesPhablet Large Tablet
Classic
Laptop
Xbox IoTSurface Hub Holographic
Windows 10
One Store +
One Dev Center
Reuse
Existing
CodeOne SDK +
Tooling
Adaptive
User
Interface Natural
User Inputs
One Universal Windows Platform
Universal Windows Platform
• A single API surface
– A guaranteed API surface
– The same on all devices
Phone
Device
Xbox
Device
Desktop
Device
Windows Core
Universal Windows Platform
Apps don't target Windows 10, apps
target the platform
• <TargetPlatform
• Name="Microsoft.Universal"
• minVersion="10.0.10069.0"
• maxVersionTested="10.0.10190.0"/>
The Universal Windows Platform can
update at its own cadence
• A single binary
– Running on any device
– Testing for capabilities
– Adjusting to devices
Phone
Device
Xbox
Device
Desktop
Device
Windows Core
Universal Windows Platform
Windows App
Platform extensions
• Device-specific API
– Family-specific capabilities
– Compatible across devices
– Unique update cadence
Phone
Device
Xbox
Device
Desktop
Device
Windows Core
Universal Windows Platform
Windows App
Phone
extension
Xbox
extension
Desktop
extension
Extensions don't invalidate
binaries on other devices
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
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
Adaptive design
Phone (portrait)
Tablet (landscape) / Desktop
Tailored design
Phone (portrait)
Tablet (landscape) / Desktop
Continuum for Convertibles and
Phones
Continuum for
convertibles and
Phones
Adaptive code
• A compatible binary across devices
– Universal API with device-specific implementation
• Light up our app with capabilities
– Testing for capabilities and namespaces
Users love apps that
work great on all their devices
Test capabilities at runtime
• Use Adaptive Code to light-up
your app on specific devices
var api = "Windows.Phone.UI.Input.HardwareButtons";
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent(api))
{
Windows.Phone.UI.Input.HardwareButtons.CameraPressed
+= CameraButtonPressed;
}
UWP
Windows Core Windows Core Windows Core Windows Core
UWP UWP UWP
Desktop Mobile Xbox More…
The device families you choose
determines which APIs
you can call freely
One simple, unified, integrated
development environment
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…
Download Now !!!
Install latest
Windows 10 OS
insider.windows.com
Install VS 2015 RC w/
Universal Windows SDK &
Tools
www.visualstudio.com
Build your first
Universal Windows
App
Acquiring Windows 10 Tools/SDKs/Emulators
Select
“Universal Windows App
Development Tools”
using Custom setup
option
Cookbook Demo App
Summary
• Windows 10
• Universal Windows Platform
• Adaptive Design
• Development Tools
• Cookbook Demo App
Resources
• Windows Insider Program
https://insider.windows.com
• Visual Studio
https://www.visualstudio.com
• Microsoft Virtual Academy
http://www.microsoftvirtualacademy.com
• Microsoft Azure Free Trial
http://azure.microsoft.com/en-us/pricing/free-trial
Thank You

Developing windows 10 universal apps

  • 1.
    Developing Windows 10 UniversalApps Chris Dufour, ASP .NET MVP Software Architect Follow me@chrduf http://www.linkedin.com/in/cdufour
  • 2.
    Agenda • Windows 10 •Universal Windows Platform • Adaptive Design • Development Tools • Cookbook Demo App
  • 3.
    Windows 10 Next versionof 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
  • 4.
    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
  • 5.
    Windows 10 on OneBillion Devices
  • 6.
  • 7.
  • 8.
    Windows Core • OneWindows kernal • One hardware platform • Universal hardware driver • Standard network and I/O • One App Model
  • 9.
    One Windows Desktop SKU PC 2 in1 Mobile SKU Tablet Phablet Phone Xbox SKU Xbox IoT SKU Band IoT headless SKU Raspberry Pi Home Automation Surface Hub SKU Surface Hub Holographic SKU HoloLens
  • 10.
    Each family addsfeatures to the one it inherits
  • 11.
    Easy for usersto get & stay current Unified core and app platform The convergence journey Windows 10 Converged OS kernel Converged app model
  • 12.
    Phone Small Tablet 2-in-1s (Tabletor Laptop) Desktops & All-in-OnesPhablet Large Tablet Classic Laptop Xbox IoTSurface Hub Holographic Windows 10
  • 13.
    One Store + OneDev Center Reuse Existing CodeOne SDK + Tooling Adaptive User Interface Natural User Inputs One Universal Windows Platform
  • 14.
    Universal Windows Platform •A single API surface – A guaranteed API surface – The same on all devices Phone Device Xbox Device Desktop Device Windows Core Universal Windows Platform
  • 15.
    Apps don't targetWindows 10, apps target the platform
  • 16.
    • <TargetPlatform • Name="Microsoft.Universal" •minVersion="10.0.10069.0" • maxVersionTested="10.0.10190.0"/>
  • 17.
    The Universal WindowsPlatform can update at its own cadence
  • 18.
    • A singlebinary – Running on any device – Testing for capabilities – Adjusting to devices Phone Device Xbox Device Desktop Device Windows Core Universal Windows Platform Windows App
  • 19.
    Platform extensions • Device-specificAPI – Family-specific capabilities – Compatible across devices – Unique update cadence Phone Device Xbox Device Desktop Device Windows Core Universal Windows Platform Windows App Phone extension Xbox extension Desktop extension
  • 20.
  • 21.
    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
  • 22.
    Adaptive design • Responsivedesign – 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
  • 23.
  • 24.
  • 25.
    Continuum for Convertiblesand Phones Continuum for convertibles and Phones
  • 26.
    Adaptive code • Acompatible binary across devices – Universal API with device-specific implementation • Light up our app with capabilities – Testing for capabilities and namespaces
  • 27.
    Users love appsthat work great on all their devices
  • 28.
    Test capabilities atruntime • Use Adaptive Code to light-up your app on specific devices var api = "Windows.Phone.UI.Input.HardwareButtons"; if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent(api)) { Windows.Phone.UI.Input.HardwareButtons.CameraPressed += CameraButtonPressed; }
  • 29.
    UWP Windows Core WindowsCore Windows Core Windows Core UWP UWP UWP Desktop Mobile Xbox More…
  • 30.
    The device familiesyou choose determines which APIs you can call freely
  • 31.
    One simple, unified,integrated development environment
  • 32.
    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…
  • 33.
    Download Now !!! Installlatest Windows 10 OS insider.windows.com Install VS 2015 RC w/ Universal Windows SDK & Tools www.visualstudio.com Build your first Universal Windows App
  • 34.
    Acquiring Windows 10Tools/SDKs/Emulators Select “Universal Windows App Development Tools” using Custom setup option
  • 35.
  • 36.
    Summary • Windows 10 •Universal Windows Platform • Adaptive Design • Development Tools • Cookbook Demo App
  • 37.
    Resources • Windows InsiderProgram https://insider.windows.com • Visual Studio https://www.visualstudio.com • Microsoft Virtual Academy http://www.microsoftvirtualacademy.com • Microsoft Azure Free Trial http://azure.microsoft.com/en-us/pricing/free-trial
  • 38.