DevOps for Desktop Apps

Slides:



Advertisements
Similar presentations
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Advertisements

4/15/2018 6:21 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/24/ :07 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/26/ :28 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Deployment Planning Services
Make your app a native part of Office with Add-ins
Microsoft Ignite /10/2018 3:38 AM
Accelerate your DevOps with OpenShift by Red Hat
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
DotnetConf 9/10/2018 7:49 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
From IT Pros to IT Heroes - with Azure DevTest Labs
6/2/2018 4:08 AM BRK3327 Ten things you didn't know about building .NET UWP apps in Visual Studio 2017 Daniel Jacobson Program Manager – Visual Studio.
Cloud-First, Modern Windows Management and Security
Windows Developer Day Fall Creators Update October 10, 2017.
Developing Hybrid Apps on Microsoft Azure Stack
Azure AD for the client management guy (or gal!)
Jeff Hollan / Kevin Lam Program Manager / Principal Program Manager- Microsoft Bringing Logic Apps into DevOps with Visual Studio and monitoring.
Jenkins and Azure OPEN322 Michael Friedrich.
Manage mobile productivity with Enterprise Mobility + Security (EMS)
Microsoft Ignite /18/2018 8:30 PM BRK2065
Logo here Module 3 Microsoft Azure Web App. Logo here Module Overview Introduction to App Service Overview of Web Apps Hosting Web Applications in Azure.
Windows Azure Jason Olson, Program Manager 4-142
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
ASP.NET in Linux and Windows containers
9/11/ :55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Build /13/2018 2:24 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Virtual Academy
Automate all things! Microsoft Azure continuous deployment
Building a Continuous Integration Pipeline using VSTS
Continuous Delivery of Windows Azure Cloud Services (DEV310)
Microsoft Build /17/2018 5:42 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Build /8/2018 8:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Build /11/2018 2:12 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
11/11/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Building Modern Web Apps with ASP.NET MVC 6
Microsoft /12/2018 8:06 AM BRK2103 Deliver more features faster with a modern development and test solution Claude Remillard Group Program Manager.
DevOps Fundamentals Configuration Management
Continuous Delivery for Microsoft Azure
Windows Server Release Cadence
Protect your OneDrive and SharePoint files on mobile devices
Explore web development with Microsoft ASP.NET Core 1.0
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Microsoft Ignite /14/ :21 AM BRK2101
Microsoft Connect /16/2018 4:53 PM
Microsoft Connect /17/ :34 AM
持續的產出Windows Azure 雲端服務
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Bring existing desktop apps to UWP with the Desktop Bridge
New Developer Tools in Windows Embedded Standard 2011
Microsoft Build /24/2018 4:02 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
TFS from on-prem to the cloud with Azure DevOps Services
Microsoft Virtual Academy
12/26/2018 1:44 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Jeff Hollan / Kevin Lam Program Manager / Principal Program Manager- Microsoft Bringing Logic Apps into DevOps with Visual Studio and monitoring.
Visual Studio 2010 SharePoint Development Tools Overview
Building and Migrating Modern Enterprise Line of Business Applications
Building Business Applications in LightSwitch
TechEd /28/2019 3:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Delivering great hardware solutions for Windows
4/11/2019 6:29 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/12/2019 5:27 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
5/6/2019 7:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Build /20/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Mark Quirk Head of Technology Developer & Platform Group
Build /24/ What's new for Azure developers in Visual Studio 2013 update 2 and Azure SDK 2.3 Dan Fernandez Principal PM
Preparing for the Windows 8.1 MCSA
Azure DevOps Integration
Extend Azure DevOps with a Custom PowerShell-based Pipeline Task
Presentation transcript:

DevOps for Desktop Apps Ricardo Minguez (aka Rido) @ridomin

High Performance DevOps Companies Achieve… 10/21/2019 4:07 AM High Performance DevOps Companies Achieve… 46x Deployment Frequency 2,555x Faster Lead Time For Changes Faster Time to Market $ Increased Revenue DevOps 7x Lower Change Failure Rate 2,604x Faster Mean Time to Recover Source: 2018 Accelerate: State of DevOps: Strategies for a New Economy." N. Forsgren, J. Humble, G. Kim. DevOps Research and Assessment (DORA) © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Desktop DevOps Demo https://aka.ms/devops4clientapps

DevOps for Desktop Branches Packaging Builds Distribution Signing 10/21/2019 4:07 AM DevOps for Desktop Branches Packaging Builds Distribution Signing Testing Telemetry © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Branches and Release Flow 10/21/2019 4:07 AM Branches and Release Flow Release Flow Contributions made in small branches off master PR to master Release branch at sprint milestone Version calculated File seed + Git height NerdBank.GitVersioning Environment promotion with Release Pipelines Branches can be released to a test environment © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10/21/2019 4:07 AM Packaging with MSIX MSIX is the package format to deploy ANY Windows application MFC, Win32, UWP, .NET Framework, .NET Core 3… or any other EXE Publishing Anywhere Managed: Store, Intune, SCCM Unmanaged: Custom locations (Web, UNC) with App Installer app and .appinstaller file Support .NET Core 3 deployment modes Self Contained, Framework Dependent © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Create MSIX with Visual Studio 10/21/2019 4:07 AM Create MSIX with Visual Studio Visual Studio Application Packaging Project (.wapproj) Manifest Editor Debugging Packages Wizard MSBuild based Customize build/package with MSBuild properties Available in the UWP Workload © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Configuring automatic updates with the .appinstaller 10/21/2019 4:07 AM Configuring automatic updates with the .appinstaller <AppInstaller xmlns="http://schemas.microsoft.com/appx/appinstaller/2018"      Uri="{AppInstallerUri}" Version="{Version}"> <MainBundle Name="{Name}" Version="{Version}" Publisher="{Publisher}" Uri="{MainPackageUri}"/> <UpdateSettings> <OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="true" UpdateBlocksActivation="true" /> <AutomaticBackgroundTask/> <ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion> </UpdateSettings> </AppInstaller> © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Windows Application Packaging Project https://aka.ms/wapproj

One YAML file to rule them all Builds Hosted Build Agent Include all VS features Can be extended with new SDKs Run automated tests Clean images for each build Private Build Agent Access local resources (UNC shares) Speed up build times Custom SDKs installed in advance Security with public PRs One YAML file to rule them all © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

azure-pipelines.yaml https://aka.ms/yaml

Signing CA issued certificates Self Signed certificates 10/21/2019 4:07 AM Signing CA issued certificates Public CA’s enable wide distribution Private CA’s enable enterprise distribution Self Signed certificates Development/testing purposes only Not for wide distribution NOTE: Manifest Publisher MUST match the certificate subject name NOTE: Local/F5 debugging does not require signed packages © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Azure DevOps secure files

Distribution Store Non-Store Consumer apps Store handles signing 10/21/2019 4:07 AM Distribution Store Consumer apps Store handles signing Flights Auto updates based on Store client Non-Store Non-Store Distribution (UNC and Web) Requires trusted certificate You are in control of update policy Great for enterprises PRO TIP: Modify Package Identity to support Side by Side installations (e.g. Nightly Builds) © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Deploying to Azure

Testing UI Tests is an integration-style 10/21/2019 4:07 AM Testing UI Tests is an integration-style WinAppDriver enables automation for Win10 applications Supports every type of Win10 app (inc. UWP, WPF, WinForms, Win32) Built on an open-standard (WebDriver) Integrates with the Appium/Selenium ecosystem Web Selenium Mobile Appium Desktop WinAppDriver 2004 2011 2017 https://github.com/Microsoft/WinAppDriver © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Automated UI Testing

10/21/2019 4:07 AM Release Pipelines Releases deploy artifacts to environments Client apps should be signed at release time Promotion based on approval workflow © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Environment Promotion

10/21/2019 4:07 AM Telemetry © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

AppInsights

DevOps for Desktop Branches Packaging Builds Distribution Signing 10/21/2019 4:07 AM DevOps for Desktop Branches Packaging Builds Distribution Signing Testing Telemetry © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

VS Roadmap Visual Studio 2019 Update (Late Summer) 10/21/2019 4:07 AM VS Roadmap Visual Studio 2019 Update (Late Summer) .NET Core 3.x tooling support for Framework Dependent Deployments New certificate management in Visual Studio Enable manifest updates from MSBuild Add appinstaller templates © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10/21/2019 4:07 AM Call to action Use Azure DevOps pipelines to configure your CI/CD Use VS Packaging Project to produce MSIX packages for existing Desktop applications Choose the distribution option(s) for your scenario Automate your UI test with WinAppDriver Instrument your application for telemetry © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10/21/2019 4:07 AM Resources DevOps Demo https://github.com/microsoft/devops-for-windows-apps Pipelines https://dev.azure.com/devops-for-client-apps/MyWPFApp MSIX Docs https://docs.microsoft.com/en-us/windows/msix/ MSIX MIME types https://aka.ms/msix-mimetypes Packaging Project Docs https://aka.ms/wapproj Packaging Project Samples https://github.com/microsoft/Windows-Packaging-Samples WinAppDriver https://github.com/microsoft/winappdriver AppInsights for Desktop https://github.com/onovotny/AppInsights.WindowsDesktop © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Please use EventsXD to fill out a session evaluation. Thank you!