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.

Slides:



Advertisements
Similar presentations
Three Runtimes, one standard… .NET Standard: All in Visual Studio 2017
Advertisements

12/29/2017 2:33 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modernizing your. NET applications with. NET Standard,
Make your app a native part of Office with Add-ins
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Secure Hyperconnectivity with TeamViewer and Windows technologies
5/22/2018 1:39 AM BRK2156 Power BI Report Server: Self-service BI and enterprise reporting on-premises Christopher Finlan Senior Program Manager © Microsoft.
ASP.NET Core: Web apps, cloud apps, and containers
6/8/ :30 AM BRK3304 Modern .NET: Cloud, Containers, Microservices and Mobile all in Visual Studio 2017 Scott Hunter, Director PM Kasey.
DevOps for any language
Azure Cloud Shell Magic of Modern Command-line Management
ASP.NET Core 2.0 Fundamentals
The Modern ASP.NET Tech Stack!
Learning about Containers in the Real World
Azure SDKs and Tools for You
Do more with Microsoft Word and Office 365
Optimizing Microsoft OneDrive for the enterprise
What a Real, Functioning DevOps Team Looks Like
Virtual Machine Diagnostics in Microsoft Azure
SQL Server on Linux on All-Flash Arrays
Microsoft Ignite /31/ :08 AM
Microsoft Planner: How to manage your team’s work in Office 365
Building Innovative Apps using the Microsoft Developer Platform
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Workflow Orchestration with Adobe I/O
Customize Office 365 Search and create result sources
How we got a traditional bank collaborating across boundaries
Automate all things! Microsoft Azure continuous deployment
Modern Front-End Web Development with Visual Studio
Agile Planning with Visual Studio Team Services (VSTS)
DNN Connect 2017 Microsoft Keynote
Learn. Imagine. Build. .NET Conf
9/22/2018 3:49 AM BRK2247 Learn from MVPs: Panel discussion on all things SharePoint and OneDrive © Microsoft Corporation. All rights reserved. MICROSOFT.
Controlling and leveraging the power of the Microsoft Graph
Confidence at speed: Visual Studio 2017 and your CI pipeline
Azure PowerShell Aaron Roney Senior Program Manager Cormac McCarthy
Continuous Delivery for Microsoft Azure
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Overview of the .NET Platform
Microsoft Ignite /14/ :21 AM BRK2101
11/14/ :24 AM BRK2069 Build powerful new applications for the enterprise on Windows 10 with the Universal Windows Platform Ginny Caughey President.
11/15/ :59 AM THR2294 Building great looking experiences with Microsoft Graph and Office UI Fabric Ben Summers Office Marketing David Lavenda Harmon.ie.
Continuous Delivery with Visual Studio Team Services
Learn. Imagine. Build. .NET Conf
Azure Advisor: Optimization in the best way
Bring existing desktop apps to UWP with the Desktop Bridge
Mobile Center and VSTS:​ Better together for your Mobile DevOps
Microsoft Connect /1/2018 2:36 AM
Microsoft products for non-profits
TechEd /6/2018 8:16 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Introduction to ASP.NET Core 1.0
Microsoft To-Do Preview
MDM Migration Analysis Tool (MMAT)
Overview: Dynamics 365 for Project Service Automation
Understand your Azure cloud assets dependencies with BMC Discovery
Breaking Down the Value of A Yammer Post: 20 Things to Do
Cool Microsoft Edge Tips and Tricks
When Bad Things Happen to Good Applications
Manage your App Service resources using Command line tools
“Hey Mom, I’ll Fix Your Computer”
4/21/2019 7:09 AM THR2098 Unlock New Opportunities with Nintex Hawkeye Process Intelligence and Workflow Analytics Sr. Product.
4/28/2019 3:30 AM THR1061 Learn how Dynamics 365, Office 365 and related applications work together to transform the workplace Donna Edwards Solution Architect.
Consolidate, manage, backup, and secure your cloud content
Designing Bots that Fit Your Organization
Ask the Experts: Windows 10 deployment and servicing
Passwordless Service Accounts
Digital Transformation: Putting the Jigsaw Together
WCF and .NET Framework Microservices in Containers
Diagnostics and troubleshooting in Azure App Service Support Center
Optimizing your content for search and discovery
Presentation transcript:

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 @pmatmic Clint Rutkas Product Manager - Windows @ClintRutkas © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6/2/2018 4:08 AM Key Takeaways Update to the latest Visual Studio 2017 for the best tools Download Windows Template Studio (aka.ms/wts) Start modernizing your assets with the Windows App Packaging Project, UWP and .NET Standard 2.0 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Overview Getting Started Conditional XAML Windows Application Packaging Project Windows Template Studio Debugging Productivity .NET Standard 2.0 Connected Services NuGet Updates Visual Studio Mobile Center XAML Designer © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Getting Started 1. Getting Started 6/2/2018 4:08 AM Getting Started 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Windows Application Packaging Project 6/2/2018 4:08 AM Windows Application Packaging Project 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Installation and Servicing ClickOnce .appx Install from web Full file download Intelligent download Auto-updates On app launch In the background Differential updates No Block level updates Automatic dependency management Yes Self-contained per-user app install Administrative permission-free https://aka.ms/appxwebinstall

.NET Standard 2.0 1. Getting Started 6/2/2018 4:08 AM .NET Standard 2.0 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

.NET Standard brings it all together 6/2/2018 4:08 AM .NET Standard brings it all together TRADITIONAL WINDOWS WINDOWS 10 WEB APPS, CLOUD SERVICES MOBILE GAMES, VR, AR IoT AI .NET Standard allows sharing code, binaries and skills between .NET client, server and all of its flavors. .NET Standard provides a specification for any platform to implement (conceptually similar to HTML) All .NET runtimes provided by Microsoft are implementing the standard COMPILERS LANGUAGES RUNTIME COMPONENTS LIBRARIES INFRASTRUCTURE .NET STANDARD © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

.NET Standard Library One library to rule them all .NET Standard 1.x Microsoft Build 2017 6/2/2018 4:08 AM .NET Standard Library One library to rule them all Learn one API across ALL .NET platforms Reuse your code across ALL .NET platforms Easily consume third party / OSS libraries across ALL .NET platforms .NET Standard 1.x Evolution of Portable Class Libraries (PCLs) with a much simpler model Two constraints: API surface relatively small, because .NET Core was small Can’t reference the vast number of libraries already available for .NET Framework © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More APIs than .NET Standard 1.x Microsoft Build 2017 6/2/2018 4:08 AM .NET Standard 2.0 Has much bigger API surface Extended to cover intersection between .NET Framework and Xamarin Also makes .NET Core 2.0 bigger as it implements .NET Standard 2.0 Can reference .NET Framework libraries Compatibility shim allows referencing existing .NET Framework binaries No recompile required – also covers existing NuGet packages Limited to libraries that only use APIs that are available for .NET Standard +20K More APIs than .NET Standard 1.x ~70% of NuGet packages are API compatible © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

APIs in .NET Standard 2.0 DATA XML SERIALIZATION NETWORKING IO 6/2/2018 4:08 AM APIs in .NET Standard 2.0 DATA DataSet • DataTable • SQLClient XML XLinq • XML Document • XPath • Schema • XSL SERIALIZATION BinaryFormatter • Data Contract • XML NETWORKING Sockets • HTTP • Mail • WebSockets IO Files • Compression • MMF THREADING Threads • Thread Pool • Tasks CORE Primitives • Collections • Reflection • Interop • Linq © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6/2/2018 4:08 AM .NET Native and UWP No JIT + leaner runtime means lighting fast startup Lower memory usage (~40% lower) Store compilation © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

.NET Native improvements 6/2/2018 4:08 AM .NET Native improvements Shipped as a part of the .NET Core NuGet package Incremental compilation support for .NET Native* .NET Native portable PDB support © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

NuGet Updates 1. Getting Started 6/2/2018 4:08 AM NuGet Updates 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

PackageReference benefits 6/2/2018 4:08 AM PackageReference benefits Direct MSBuild integration – like existing references Enables package management across multiple projects Finer control over package dependencies Universal NuGet package reference model Platform multi-targeting © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

IMPORTANT! - .NET Standard 2.0 Requires Windows Fall Creators Update .NET Delivery with UWP NuGet PackageReference UWP Framework Monikers uap10.0.TargetPlatformMinVersion.0 IMPORTANT! - .NET Standard 2.0 Requires Windows Fall Creators Update

XAML Designer 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Conditional XAML 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Windows Template Studio aka.ms/wts 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Debugging Productivity 6/2/2018 4:08 AM Debugging Productivity 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Connected Services 1. Getting Started 6/2/2018 4:08 AM Connected Services 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Visual Studio Mobile Center 6/2/2018 4:08 AM Visual Studio Mobile Center 1. Getting Started 2. Windows Application Packaging Project 3. .NET Standard 2.0 4. NuGet Updates 5. XAML Designer 6. Conditional XAML 7. Windows Template Studio 8. Debugging Productivity 9. Connected Services 10. Visual Studio Mobile Center © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6/2/2018 4:08 AM Related Sessions BRK2068: Get more from your existing enterprise apps on Windows 10 with efficient deployment and DevOps BRK2069: Build powerful new applications for the enterprise on Windows 10 with the Universal Windows Platform BRK3077: Next gen packaging and deployment of Windows apps in the enterprise THR1025: Bring existing desktop apps to the Universal Windows Platform with the Desktop Bridge © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Resources EShopUWP Demo: aka.ms/eshopuwp/src Windows Template Studio: aka.ms/wts Appx Web Installation: https://aka.ms/appxwebinstall © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6/2/2018 4:08 AM Key Takeaways Update to the latest Visual Studio 2017 for the best tools Download Windows Template Studio (aka.ms/wts) Start modernizing your assets with the Windows App Packaging Project, UWP and .NET Standard 2.0 @pmatmic @ClintRutkas © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Please evaluate this session Tech Ready 15 6/2/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite https://myignite.microsoft.com/evaluations Phone: download and use the Microsoft Ignite mobile app https://aka.ms/ignite.mobileapp Your input is important! © 2012 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.

6/2/2018 4:08 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.