Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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.

2 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.

3 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.

4 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.

5 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.

6 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

7 .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.

8 .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.

9 .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.

10 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.

11 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.

12 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.

13 .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.

14 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.

15 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.

16 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

17 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.

18 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.

19 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.

20 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.

21 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.

22 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.

23 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.

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

25 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.

26 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 Phone: download and use the Microsoft Ignite mobile app 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.

27 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.


Download ppt "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."

Similar presentations


Ads by Google