Modernizing your. NET applications with. NET Standard,

Slides:



Advertisements
Similar presentations
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

Building a social networking portal on Windows Azure in 1 hour Saranya Sriram Developer Evangelist Microsoft, India.
Announcing Demo Announcing.
Session 1.
Yousef Khalidi Distinguished Engineer Microsoft Corporation.
Building Social Games for Windows 8 with Windows Azure Name Title Microsoft Corporation.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Cloud Roadshow. Getting Started with mobile app development with the Office 365 APIs.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Cloud Roadshow. Getting Started with the Office 365 APIs.
跨平台 Hybrid App 開發簡介 - 使用 Visual Studio Tool for Apache Cordova + HTML/JavaScript 陳葵懋 (Ian)
61% YoY Growth.NET Active Developers (VS 2012+) 40%.NET Core downloads by new developers 62% GitHub contributions from outside of Microsoft (corefx.
Three Runtimes, one standard… .NET Standard: All in Visual Studio 2017
12/29/2017 2:33 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Unleash .NET 2015 in your apps
4/24/ :07 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Introduction to ASP.NET Core
Windows Azure Jeffrey Ferman Program Manager 3-006
MIX 09 5/29/ :31 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
About Bill Bill Baer (ˈbɛər)
ASP.NET Core: Web apps, cloud apps, and containers
TechEd /1/2018 7:56 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
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.
6/8/ :30 AM BRK3304 Modern .NET: Cloud, Containers, Microservices and Mobile all in Visual Studio 2017 Scott Hunter, Director PM Kasey.
9/11/ :51 AM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
The Future of C# The Future of C# and VB 2-577
The Modern ASP.NET Tech Stack!
Building Innovative Apps using the Microsoft Developer Platform
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Microsoft Virtual Academy
DNN Connect 2017 Microsoft Keynote
Introducing ASP.NET Core 2.0
Microsoft Azure P wer Lunch
Learn. Imagine. Build. .NET Conf
Microsoft Build /8/2018 3:30 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
What is it all about? .NET MeetUp in Amsterdam, NL (2017/7/11)
Microsoft Build /11/2018 2:12 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Building Modern Web Apps with ASP.NET MVC 6
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 Build /15/2018 6:28 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Deep dive on app data roaming
Learn. Imagine. Build. .NET Conf
What’s new in Visual Studio for web developers
Microsoft Build /24/2018 2:23 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Developing for the cloud with Visual Studio
Microsoft Connect /1/2018 2:36 AM
12/1/2018 9:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
12/2/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Title of Presentation 12/2/2018 3:48 PM
Build /2/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
F# for Parallel and Asynchronous Programming
Angular in the .NET World
TechEd /22/2019 9:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Development.
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Silverlight 2 Mike Taulty Developer & Platform Group Microsoft Ltd
What's New in Visual Studio & Blend for XAML Developers
Brandon Bray Principal Group Program Manager Microsoft Corporation
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Consumer Channels and Central Marketing Group
Шитманов Дархан Қаражанұлы Тарих пәнінің
Build /15/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Title of Presentation 5/24/2019 1:26 PM
7/19/2019 2:53 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Build /27/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
WCL425 App Compat for Nerds Chris Jackson.
Presentation transcript:

Modernizing your. NET applications with. NET Standard, Modernizing your .NET applications with .NET Standard, .NET Core, Docker, and Azure Eilon Lipton elipton@microsoft.com Principal Group Software Engineering Manager Microsoft (Redmond, WA)

One library to rule them all 12/29/2017 2:33 PM .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 © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

.NET Standard WINDOWS DESKTOP WINDOWS UWP CLOUD MICROSERVICES IOS, ANDROID .NET STANDARD INFRASTRUCTURE COMPILERS LANGUAGES RUNTIME COMPONENTS GAMES/ 3D Visual Studio Visual Studio Code Visual Studio for Mac .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

PORTABLE CLASS LIBRARY 12/29/2017 2:33 PM Nothing changes MY .NET FRAMEWORK APP MY .NET CORE APP MY XAMARIN APP MY STANDARD LIBRARY EXISTING .NET STANDARD LIBRARY EXISTING PORTABLE CLASS LIBRARY EXISTING .NET FRAMEWORK LIBRARY © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Announcing .NET Standard 2.0 (Preview) 12/29/2017 2:33 PM Announcing .NET Standard 2.0 (Preview) +20K More APIs than .NET Standard 1.x 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 ~70% of NuGet packages are API compatible 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 © 2014 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 XML SERIALIZATION NETWORKING IO THREADING 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

Reference Framework as single package Simplified packaging .NET Core 2.0 .NET Standard 2.0 Reference Framework as single package Simplified packaging ASP.NET Core and Entity Framework Core included ASP.NET Core 2 Automatic diagnostics Razor Pages Entity Framework Core 2

DEMO: .NET Standard across the world

Visual Studio 2017 – RTM March 7 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

Coming in Visual Studio 2017 Update 3 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

DEMO: Live unit testing

.NET Core and Visual Studio for Mac 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, Razor editors

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

DEMO: Visual Studio for Mac

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

DEMO: Azure Application Insights

Docker For build-time or for runtime On Windows or on Linux Choose your base image And upgrade it as necessary Features coming to .NET for coordinating multiple images For example, health checks, service discovery Works in Visual Studio, Visual Studio for Mac, and VS Code Debug remotely using VS Azure supports Windows and Linux containers Azure Container Service for Linux (Windows coming) Service Fabric for Windows (Linux coming)

DEMO: Docker with Visual Studio

Summary .NET Standard for productivity .NET Core for fast-paced, cross-platform, standalone/SxS dev/deploy Visual Studio 2017 Live Unit Testing and C# Visual Studio for Mac for collaboration Azure for simplified app management and diagnostics Docker for reliable deployment, easy configuration, and scale

Related sessions I will present today… 14:20 Deep dive into .NET Core 2.0 and ASP.NET Core 2.0 / Aulets Other presentations tomorrow… 11:40 Building a Xamarin Forms app using data from DNN / Peter Schotman / Aulets 17:00 Goodbye VMs - Hello Docker / Joe Brinkman / Aulets

Learn more .NET Conf 2017 (September 19 – 21) http://www.dotnetconf.net/ .NET home page https://dot.net/ .NET Architecture https://www.microsoft.com/net/learn/architecture Channel 9 videos from //BUILD and other conferences https://channel9.msdn.com/Events/Build/2017 (400+ videos)

12/29/2017 © 2017 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. © 2014 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.