Presentation is loading. Please wait.

Presentation is loading. Please wait.

6/8/2018 12:30 AM BRK3304 Modern .NET: Cloud, Containers, Microservices and Mobile all in Visual Studio 2017 Scott Hunter, Director PM .NET, @coolcsh Kasey.

Similar presentations


Presentation on theme: "6/8/2018 12:30 AM BRK3304 Modern .NET: Cloud, Containers, Microservices and Mobile all in Visual Studio 2017 Scott Hunter, Director PM .NET, @coolcsh Kasey."— Presentation transcript:

1 6/8/ :30 AM BRK3304 Modern .NET: Cloud, Containers, Microservices and Mobile all in Visual Studio 2017 Scott Hunter, Director PM Kasey Uhlenhuth, .NET © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Open source momentum Community PRs by month
“Samsung is embracing .NET because it is a completely open source project.” "ASP.NET is open source, that allows us to contribute back to it if we have any performance issues which Microsoft review and together we make a better product.“ — Illyriad Games

3 .NET is active and growing
.NET Core debuts at #3 most loved Framework on Stack Overflow Technology Survey 2017 C# is #3 most popular language for desktop and web developers on Stack Overflow Technology Survey 2017 Source:

4 Customers and the community are talking about .NET
Hacker News appearances of .NET or Visual Studio products (bars are count of articles, line is total votes) “Using the same-size server, we were able to go from 1,000 requests per second per node with Node.js to 20,000 requests per second with .NET Core.“ — Raygun “Developers can reuse their C# skills to build native Android, iOS, and Windows applications that deliver the right information to the right person at the right time.“ — Alaska Airlines “We believe .NET elegantly handles the trade-off between developer productivity and application performance.“ — National Instruments “The Microsoft technology made it easy for us. It just works. We saved months of development time in the process.“ — Stackoverflow.com

5

6 .NET Architecture Available now at: https://dot.net/architecture
eBooks & samples: Containers, Web, Mobile, Cloud Patterns: Health checks, queueing… More books and patterns coming…

7 .NET Standard WINDOWS DESKTOP WINDOWS UWP CLOUD MICROSERVICES IOS, ANDROID .NET STANDARD INFRASTRUCTURE COMPILERS LANGUAGES RUNTIME COMPONENTS GAMES/ 3D Visual Studio Visual Studio for Mac Visual Studio Code .NET Standard allows sharing code, binaries, and skills between .NET client, server, and all flavors .NET Standard provides a specification for any platform to implement All .NET runtimes provided by Microsoft implement the standard

8 +20K ~70% .NET Standard 2.0 Has much bigger API surface
6/8/ :30 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 +20K More APIs than .NET Standard 1.x 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 ~70% of NuGet packages are API compatible © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

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

10 Demo: .NET Standard 2 6/8/2018 12:30 AM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 .NET Core 2.0 More APIs (implements .NET Standard 2)
More project templates More distros Simplified packaging New and improved tooling in Visual Studio 2017 Visual Studio for Mac support

12 Example: .NET Core 1.0 references

13 Example: .NET Core 2.0 references

14 6/8/ :30 AM Demo .NET Core CLI © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 ASP.NET Core 2 Faster (20% faster in Tech Empower benchmark)
Razor Pages Razor support for C# 7.1 Smaller Publish (2.6MB vs 16.8 MB) Azure Diagnostics & Live Analytics Angular and React templates Authenticator App support in templates

16 6/8/ :30 AM Demo ASP.NET Core 2.0 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Announcing Windows Compat Pack for Core
Microsoft.Win32.Registry System.CodeDom System.Configuration.ConfigurationManager System.Drawing System.Runtime.Caching And many more… PREVIEW AVAILABLE SOON

18 Visual Studio 2017 (March) Improved performance, new install experience Faster navigation Code style configuration and enforcement Live Unit Testing IntelliSense improvements New exception helper More refactorings and quick fixes C# 7.0

19 Visual Studio 2017 15.3 (August)
Additional polish to navigation and IntelliSense .NET Core support for Live Unit Testing Code style enforcement on builds More live diagnostics on API design, security, etc. Even more refactorings and quick fixes C# 7.1

20 6/8/ :30 AM Demo .NET Tooling © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 C# 7.1 – First point release
Target-typed default expressions Async Main Tuple element name inference

22 C#: The road ahead C# 7.2 C# 7.3 C# 8.0 Safe, efficient low-level code
Microsoft Build 2017 6/8/ :30 AM C#: The road ahead C# 7.2 Safe, efficient low-level code C# 7.3 Next steps for pattern matching? C# 8.0 Interfaces with default member implementations Async streams Nullable reference types © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 6/8/ :30 AM Demo C# © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 Visual Studio for Mac and .NET Core
Provide the SAME experience across Windows and Mac Sharing components with Visual Studio .NET Core Project Templates HTML, CSS, JSON editors Backend debugger Azure Publish infrastructure Future Javascript, TypeScript and Razor editors

25 Visual Studio for Mac and .NET Core
Full .NET Core Tooling including round tripping between Windows and Mac Publish to App Service Future Azure Functions Docker Containers with debugging Publish to App Service Containers

26 Demo Visual Studio for Mac
6/8/ :30 AM Demo Visual Studio for Mac © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 Azure diagnostics Should be simple From the Portal From Visual Studio
No modifications to your app No republishing of your app From the Portal Enable/Disable analytics and diagnostics See common crashes and performance problems including seeing code From Visual Studio See analytics data from portal in real time Use “snap points” to debug a running application

28 Demo Azure Diagnostics
6/8/ :30 AM Demo Azure Diagnostics © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

29 Azure Functions .NET is great for event driven serverless computing
Scale without constraints Pay for only the resources your application uses Now based on .NET class libraries IntelliSense, project to project references, unit testing, code analysis, third-party extensions, and more just work Supports .NET Framework and .NET Core Publish from Visual Studio to Azure Local and remote debugging

30 Demo Azure Functions 6/8/2018 12:30 AM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

31 Useful Links .NET Standard 2 .NET Portability Analyzer
.NET Portability Analyzer Azure Debug Snapshots

32 Useful Links Azure Production Debugging Nullable reference types
Nullable reference types

33 What we are thinking about next
Performance and size improvements Faster inner loop Small standalone apps Native Tooling and libraries Global tools (“aka npm install –g”) Machine learning and artificial intelligence Platforms Linux diagnostics IOT/ARM32

34 Please evaluate this session
Tech Ready 15 6/8/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.

35 6/8/ :30 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "6/8/2018 12:30 AM BRK3304 Modern .NET: Cloud, Containers, Microservices and Mobile all in Visual Studio 2017 Scott Hunter, Director PM .NET, @coolcsh Kasey."

Similar presentations


Ads by Google