Presentation is loading. Please wait.

Presentation is loading. Please wait.

0 Developing for Windows 10 Tony Champion Champion DS.

Similar presentations


Presentation on theme: "0 Developing for Windows 10 Tony Champion Champion DS."— Presentation transcript:

1 0 Developing for Windows 10 Tony Champion Champion DS

2 Welcome to Houston TechFest Please turn off all electronic devices or set them to vibrate. If you must take a phone call, please do so in the lobby so as not to disturb others. Thanks to our Diamond Sponsors: Thank you for being a part of the 9 th Annual Houston TechFest!

3 2 Agenda Intro to Windows 10 and UWP Developing UWP apps Porting from Windows 8.1 Where to go from here…

4 3 Platform Convergence Journey Easy for users to get & stay current Unified core and app platform Windows 10 Converged OS kernel Converged app model

5 4 PhoneSmall Tablet 2-in-1s (Tablet or Laptop) Desktops & All-in-Ones PhabletLarge Tablet Classic Laptop XboxIoTSurface HubHolographic Windows 10

6 5 One Store + One Dev Center Reuse Existing Code One SDK + Tooling Adaptive User Interface Natural User Inputs One Universal Windows Platform

7 6 Universal Windows Platform One Operating System – One Windows core for all devices One App Platform – Apps run across every device family One Dev Center – Single submission, flow, and dashboard One Store – Global reach across devices

8 7 Developing for Windows Windows 10 operating system Bridging technologies Win32 desktop Web hosted Java Androi d Obj.C iOS Universal Windows Platform JS C++ & CX.Net languages HTM L DirectX XAML C++.Net languages MFCWFWPF.Net runtime

9 8 Apps don’t target Windows 10, apps target the platform The Universal Windows Platform can update at its own cadence

10 9 A single binary – Running on any device – Testing for capabilities – Adjusting to devices Universal Windows Platform App Phone Device Xbox Device Desktop Device Windows Core Universal Windows Platform Windows App

11 10 DEMO: Hello UWP

12 11 Device 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

13 12 DEMO: Device Extensions

14 13 ApiInformation Windows.Foundation.Metadata.ApiInformation Tests to make sure API is implemented on the device Provides support for not only different SDKs but different versions Available Methods IsApiContractPresentIsEnumNamedValuePresent IsPropertyPresent IsMethodPresent IsReadOnlyPropertyPresentIsTypePresent IsWriteablePropertyPresent

15 14 DEMO: ApiInformation

16 15 Responsive Design Techniques RepositionRevealResize ReplaceReflowRe-architect

17 16 Pixels scaled per device – Sizes will look physically identical on each device No need to calculate pixel density, distance, etc XAML already effective Effective Pixels

18 17 Adaptive Design Phone (portrait) Tablet (landscape) / Desktop Smart layout adjusts to large changes Features like visual states aid in this design

19 18 Tailored Design Phone (portrait) Tablet (landscape) / Desktop A device-specific app can simplify design Some devices have unique design languages

20 19 State Triggers / Setters New additions to VisualStateManager State Triggers – Allow you to change UI based on trigger state – Us

21 20 Resolution Guidance

22 21 DEMO: Adaptive Designs

23 22 Porting from 8.1 Windows 8.0/8.1 and Windows Phone 8.1 apps will continue to work on the devices they were designed for.

24 23 Why Port Your Code? Performance – Same code base performs better across board as UWP app New Platform Features – Take advantage of the latest and greatest features in your app – Adapt to any missing features like charms A Single Code Base – Easier to develop, distribute, and support your apps

25 24 Windows 8.0/8.1 Store Apps Minimum code update required Responsive Design/UX Implementation

26 25 Windows Phone 8.1 Store Apps (WinRT) Minimum code updates for UWP APIs Design UX for multiple form factors

27 26 Windows Universal Apps Merge UX Refactor to a single UWP code base

28 27 Windows Phone Silverlight Apps Port Silverlight UI -> UWP XAML Rewrite code to target UWP APIs Design UX for multiple form factors

29 28 Porting 8.1 WinRT Code File Changes – Modifications are needed for project and package.appxmanifest Nuget Packages – Nuget packages will need to be reapplied using Nuget v3 – Project packages are now stored in project.json file Update Artwork – Scaling and tile sizing has been standardized across devices – Current supported scaling is 100 – 125 – 150 – 200 – 400 Window Sizes – Minimum window size removed from manifest.

30 29 Porting 8.1 WinRT Code Add References to Platform Extension SDKs – e.g. If you are using Phone APIs Replace and deprecated APIs – Mostly in case of existing phone apps Changes in Style – Some built in styles will be missing all together (mostly phone) – Other styles have property changes (e.g. FontSize) No More Charms – Add UI to handle missing charms (settings, share, search) – Windows 8.1 Store Apps will have a hamburger menu

31 30 Porting universal Apps Can still use share projects – For support of older platforms or tailored apps – WINDOWS_APP, WINDOWS_PHONE_APP, WINDOWS_UWP If merging code base – Choose head to use as starting point (normally superset) – Add other UI in using adaptive UI techniques – Merge over shared project

32 31 Resources Windows Insider Program – http://insider.windows.com Developer Center – http://dev.windows.com Microsoft Virtual Academy – http://microsoftvirtualacademy.com

33 32 About Me… Tony Champion Microsoft Windows Dev MVP tony@tonychampion.net @tonychampion http://tonychampion.net

34 Please Leave Feedback During Q&A If you leave session feedback and provide contact information in the survey, you will be qualified for a prize Scan the QR Code to the right or go to http://bit.ly/1K1Hvi5

35 Thanks to all our Sponsors!


Download ppt "0 Developing for Windows 10 Tony Champion Champion DS."

Similar presentations


Ads by Google