Upload
chris-dufour
View
248
Download
0
Embed Size (px)
Citation preview
Developing Windows 10 Universal AppsChris Dufour, ASP .NET MVPSoftware Architect
Follow me @chrduf
http://www.linkedin.com/in/cdufour
Agenda• Windows 10• Universal Windows Platform• Adaptive Design• Development Tools• Cookbook Demo App
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
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
Mobile
Holographic Surface
Hub
XboxIoT
Desktop
Windows Core• One Windows kernal• One hardware platform• Universal hardware driver• Standard network and I/O• One App Model
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
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 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
Phone Small Tablet
2-in-1s(Tablet or Laptop)
Desktops & All-in-OnesPhablet Large Tablet
Classic Laptop
Xbox IoTSurface Hub
Holographic
Windows 10
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
Universal Windows Platform• A single API surface
– A guaranteed API surface– The same on all devices
PhoneDevice
XboxDevice
DesktopDevice
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
PhoneDevice
XboxDevice
DesktopDevice
Windows Core
Universal Windows Platform
Windows App
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
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 designPhone (portrait)
Tablet (landscape) / Desktop
Tailored designPhone (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 devicesvar 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…
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
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 Studiohttps://www.visualstudio.com
• Microsoft Virtual Academyhttp://www.microsoftvirtualacademy.com
• Microsoft Azure Free Trialhttp://azure.microsoft.com/en-us/pricing/free-trial
Thank You