Learn. Imagine. Build. .NET Conf What’s New in ASP.NET Core 2.0 Daniel Roth Microsoft Learn. Imagine. Build. .NET Conf
What’s new? Get started faster Razor Pages Revamped authentication SPA templates (Angular/React/React+Redux) Page and View compilation Performance Seamless diagnostics
WEB APPS, CLOUD SERVICES COMMAND LINE INTERFACE .NET – A unified platform TRADITIONAL WINDOWS WINDOWS 10 WEB APPS, CLOUD SERVICES MOBILE GAMES, VR, AR IoT AI TOOLS VISUAL STUDIO CODE COMMAND LINE INTERFACE VISUAL STUDIO VISUAL STUDIO FOR MAC COMPILERS LANGUAGES RUNTIME COMPONENTS LIBRARIES INFRASTRUCTURE .NET STANDARD
Leverage new APIs in .NET Standard 2.0 11/23/2018 9:26 AM Leverage new APIs in .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.
APIs in .NET Standard 2.0 DATA XML SERIALIZATION NETWORKING IO DataSet • DataTable • SQLClient XML XLinq • XML Document • XPath • Schema • XSL SERIALIZATION BinaryFormatter • Data Contract • XML NETWORKING Sockets • HTTP • Mail • WebSockets IO Files • Compression • MMF https://docs.microsoft.com/en-us/dotnet/standard/net-standard Data - DataSet * DataTable * SQLClient THREADING Threads • Thread Pool • Tasks CORE Primitives • Collections • Reflection • Interop • Linq
Get started with ASP.NET Core 2.0 Install .NET Core 2.0 from https://dot.net/core Install Visual Studio from https://visualstudio.com
Let’s get started with ASP.NET Core 2.0! Daniel Roth
What’s new? Get started faster Razor Pages Revamped authentication SPA templates (Angular/React/React+Redux) Page and View compilation Performance Seamless diagnostics
More improvements Kestrel hardening Razor support for C# 7.1 Media type suffixes Tag Helper components IHostedStartup IHostedServices
Try ASP.NET Core 2.0 today! Install .NET Core 2.0 from https://dot.net/core Install Visual Studio from https://visualstudio.com
.NET