windows 10 for developers
TRANSCRIPT
Introduction• Scott Thornton : sthorn8740…
gmail.com• .NET Developer @ Enterprise
Integration• Focus on automation and integrations• MCSD Windows Store Apps C# XAML• Started coding because I don’t like
waiting on others
DisclaimerThis content can be found on Microsoft Virtual AcademyFor those wishing to dive deeper and learn more and spend countless hours
http://windows.Microsoft.com
AgendaA single platform
One WindowsMany devices
Developer experienceWindows tooling.Net Native
http://windows.Microsoft.com
Windows CoreThe refactored common coreOne hardware platformUniversal hardware driver – 32bit, 64bit, ARMStandard network and I/O
PhoneDevice
XboxDevice
DesktopDevice
Windows Core
DesktopSKU
PhoneSKU
XboxSKU
http://windows.Microsoft.com
One Windows
DesktopSKU
PC
2 in 1
MobileSKU
Tablet
Phablet
Phone
XboxSKU
Xbox
IoTSKU
Band
IoT headless
SKU
Raspberry Pi
Home Automati
on
Surface HubSKU
Surface Hub
Holographic
SKU
HoloLens
http://windows.Microsoft.com
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
http://windows.Microsoft.com
Phone Small Tablet
2-in-1s(Tablet or Laptop)
Desktops & All-in-OnesPhablet Large Tablet
Classic Laptop
Xbox IoTSurface Hub
Holographic
Windows 10
http://windows.Microsoft.com
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
http://windows.Microsoft.com
Universal Windows PlatformA single API surfaceA guaranteed API surfaceThe same on all devices
PhoneDevice
XboxDevice
DesktopDevice
Windows Core
Universal Windows Platform
http://windows.Microsoft.com
<TargetPlatform Name="Microsoft.Universal" minVersion="10.0.10069.0"
maxVersionTested="10.0.10190.0"/>
http://windows.Microsoft.com
Windows appA single binary Running on any deviceTesting for capabilitiesAdjusting to devices
PhoneDevice
XboxDevice
DesktopDevice
Windows Core
Universal Windows Platform
Windows App
http://windows.Microsoft.com
The developer storyWhen writing for iOS, A developer writes for iPad & iPhone
When writing for Android, A developer writes for all supported devices
When writing for Windows 8, A developer writes for each devices
When writing for Windows 10, A developer writes for every device
http://windows.Microsoft.com
Platform extensionsDevice-specific APIFamily-specific capabilitiesCompatible across devicesUnique update cadence
PhoneDevice
XboxDevice
DesktopDevice
Windows Core
Universal Windows Platform
Windows App
Phoneextension
Xboxextension
Desktop
extension
http://windows.Microsoft.com
Universal Windows PlatformOne Operating SystemOne Windows core for all devices
One App PlatformApps run across every family
One Dev CenterSingle submission flow and dashboard
One Store Global reach, local monetization Consumers, Business & Education
http://windows.Microsoft.com
Windows 10operating system
Bridging technologies
Win32
desktop
Webhosted
JavaAndroid
Obj.CiOS
Universal Windows Platform
WWAC++& CX
.Netlanguages
HTMLDirectX
XAML
C++
.Netlanguages
MFCWFWPF
.Netruntime
http://windows.Microsoft.com
Let’s talk about bridge technologiesObjective-CAt Build Microsoft announced iOS code can be reused in a Windows app
AndroidAt Build Microsoft announced Android code can be reused in a Windows app to run on Windows Phone
WebAt Build Microsoft announced web sites can be wrapped to run on Windows
Win32At Build Microsoft announced that Classic Windows Apps (CWA) can be packaged as an Appx
http://windows.Microsoft.com
Adaptive designResponsive designFlexible layout responds to small changesMany controls handle basic responsiveness
Adaptive designSmart layout adjusts to large changesFeatures like visual states aid in this design (Portrait, Landscape)
Tailored designA device-specific app can simplify design Device sniffingSome devices have unique design languages
http://windows.Microsoft.com
Tailored design (2 separate layouts)
Phone (portrait)
Tablet (landscape) / Desktop
http://windows.Microsoft.com
Continuum for Convertibles and Phones
Continuum for convertibles and Phones
• Requires new hardware• Needs a docking station,
wireless dongle or miracast• Wont run traditional
desktop apps• Similar to what Canonical is
doing with Ubuntu Phones that double as OS
http://windows.Microsoft.com
Adaptive codeA compatible binary across devicesUniversal API with device-specific implementation
Light up our app with capabilitiesTesting for capabilities and namespaces
http://windows.Microsoft.com
Test capabilities at runtimeUse 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;}
http://windows.Microsoft.com
Visual Studio IDEEvery project typeDesktop, Windows, Phone, Service, Web, Game, More…
Every developer taskCode edit, Architecture design, UX design, Debug, Profile, Review, Test, More…
Every development languageC++/CX, C#, Visual Basic, JavaScript, XAML, HTML, More…
Visual Studio OnlineSource repository, project management, bug tracking, More…
http://windows.Microsoft.com
Blend for Visual StudioThe XAML Developer’s IDEAlways part of Visual StudioUses the Visual Studio shellFull auto-complete & intellisense• Validation• Snippets• PeekFile & solution managementResource managementData managementAnimationStates
http://windows.Microsoft.com
Visual Studio 2015 EditionsEnterpriseArchitecture Modeling, Diagnostics, VSO/ALM & Release Management
ProfessionalArchitecture Validation, VSO/ALM & Feedback Management
Community EditionsVisual Studio Professional Edition
http://windows.Microsoft.com
Where can I develop?Windows 10Requires Visual Studio 2015
Windows 8.1 & Windows Server 2012 R2The Visual Studio designer does not functionDebugging requires a Windows 10 device or Remote Debugging Tools
http://windows.Microsoft.com
.NET NativeNext generation compiler in the cloud Every Windows apps, only Windows app (right now)
Apps use the standard C++ optimizerAs optimizer performance improves, so does .Net native
Apps with .Net bootstrapperIncludes garbage collection
There is no runtimeThis is machine code
http://windows.Microsoft.com
Real benefits with .Net Native50% faster average startup time
14% less average memory usage
http://windows.Microsoft.com
ReviewA single platform
One WindowsMany devices
Developer experienceWindows tooling.Net Native
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.