Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Build 2016 11/8/2018 8:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,

Similar presentations


Presentation on theme: "Microsoft Build 2016 11/8/2018 8:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,"— Presentation transcript:

1 Microsoft Build 2016 11/8/2018 8:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 B829 Converting your desktop app to use the Universal Windows Platform (Project Centennial) John Sheehan Distinguished Engineer

3 What is Project Centennial?
11/8/2018 8:41 PM What is Project Centennial? Improving the Windows platform for all developers Convert desktop apps to the Universal Windows deployment technology Keep your current Win32/.NET code running Code targets Windows 10 and Windows 7 PCs Add Universal Windows components over time Monetize via Windows Store or other distribution of choice © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Developer Workflow Desktop App Converter Test, Update and Evolve
11/8/2018 8:41 PM Developer Workflow Desktop App Converter Converts existing desktop installer Results in a packaged app with UWP manifest Test, Update and Evolve Make compatible code changes that go into both MSI and app package Evolve app package to take advantage of the Universal Windows Platform Publish and Distribute Distribute the app package via sideloading, MDM or the Windows Store* MSI AppX *Pending availability © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Step 0 – Win32 Desktop App Classic Desktop Application
Win32/.NET code base MSI installer Runs in a desktop process Classic Windows App

6 Step 1 – Convert the App Immediate Benefits:
Universal App Package Immediate Benefits: Modern deployment technology for all apps Seamless updates, clean uninstall Monetize via Windows Store or other distribution of choice Runs your current code Small amount of code changes needed (if any) Classic Windows App

7 Demo Evernote – Conversion and Deployment Microsoft Build 2016
11/8/2018 8:41 PM Demo Evernote – Conversion and Deployment © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 How does it work? Deployment Solving “DLL Hell” and “Registry Bloat”
11/8/2018 8:41 PM How does it work? Deployment Uses Universal Windows Platform deployment stack Extensions for required Win32 extension points Shell extensions (e.g. file type associations) Solving “DLL Hell” and “Registry Bloat” Registry redirection / merging Filesystem redirection / merging Write redirect for certain directories Same code will continue work on Windows 7, 8, etc. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Bridge to the Universal Windows Platform
11/8/2018 8:41 PM Bridge to the Universal Windows Platform At this point your app already has Modern deployment Activation via Tiles, file types or URI protocols App Identity  access to more UWP API surface UWP App Model What else does this enable?  Short answer: Anything a UWP app can do ! © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Step 2 – Call UWP APIs Feature Examples: Live Tile support
Universal App Package Feature Examples: Live Tile support Actionable Notifications Cortana etc. Classic Windows App Universal Windows API

11 Continue the Migration to UWP
Do anything a UWP app can do Take advantage of more UWP APIs Take advantage of app services, background tasks & triggers Migrate UI to XAML Configuration Security Management Updates Natural User Inputs One SDK + Tooling Cloud Services One Store + One Dev Center Adaptive User Interface Holographic Xbox Devices +IoT Surface Hub Mobile PC

12 Demo Adding Live Tiles Microsoft Build 2016 11/8/2018 8:41 PM
© 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Step 3 – Add a UWP Component
Universal App Package Feature Examples: XAML UI front end Background tasks File Picker UI Runs in the App Container Communication via AppService Classic Windows App Universal Windows App

14 Desktop & App Container processes
11/8/2018 8:41 PM Desktop & App Container processes Current code running in Desktop process UWP app code runs in App Container Activate Desktop process from App Container and vice-versa Inter process communication (via AppService) Activate Desktop Process App Container Process Activate Communicate © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 Demo Communicating between UWP and Desktop components
Microsoft Build 2016 11/8/2018 8:41 PM Demo Communicating between UWP and Desktop components © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Step 4 – Migrate code to UWP
Universal App Package Move UWP Compatible code/components into the App Container Classic Windows App Universal Windows App

17 Step 5 – Fully UWP Move remaining code into the App Container
Universal App Package Move remaining code into the App Container Run everywhere PC Mobile Xbox One HoloLens etc. Universal Windows App

18 Complete Migration to UWP
11/8/2018 8:41 PM Complete Migration to UWP Clean up/replace non-compliant code More Win32 APIs supported in the AppContainer Move remaining code into the App Container Run everywhere (PC, phone, Xbox One, HoloLens, etc.) © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 Demo Completing the migration to UWP Microsoft Build 2016
© 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 Call to Action - http://aka.ms/desktopbridge
Upcoming Windows Insider Preview build will deliver the bits Bring your own installer to the “App Consult Area” Meet us in the “Ask The Experts” area HELLO John I am

21 Share Your Story for Challenge Points
11/8/2018 Share Your Story for Challenge Points Give us 3 minutes of feedback about your work right after this session at the Flash Voting sign. Join in on minutes in depth feedback sessions at the Visual Studio: Share Your Story booth. Register in 2 minutes for Visual Studio feedback opportunities after build at © 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

22 Please Complete An Evaluation Form Your input is important!
11/8/2018 Please Complete An Evaluation Form Your input is important! or © 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

23 11/8/2018 8:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Microsoft Build 2016 11/8/2018 8:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,"

Similar presentations


Ads by Google