What Is New In ASP.NET Core 2.0

Yesterday, Microsoft announced a major .NET release including .NET Core 2.0, ASP.NET Core 2.0, EF Core 2.0. Microsoft also released Visual Studio 2017 version 15.3. To build ASP.NET Core 2.0 applications, you will need Visual Studio 2017 version 15.3 and also install .NET Core 2.0 and ASP.NET Core 2.0 separately.

ASP.NET Core 2.0 is the next version of Microsoft’s open source platform, ASP.NET Core. You can download the latest version of ASP.NET Core 2.0 from Github.

In this article, let’s take a look at what is new in ASP.NET Core 2.0.

.NET Core 2.0, .NET Standard 2.0

ASP.NET supports .NET Core 2.0 and packages target .NET Standard 2.0. Learn more about what is new in .NET Core 2.0 here: .NET Core 2.0 Released

ASP.NET Core 2.0 Is Faster

ASP.NET Core is faster than its previous version ASP.NET Core 1.0.

Razor Pages

Razor Pages is a new feature of ASP.NET Core MVC that makes coding page-focused scenarios easier and more productive. Razor pages works with .NET Core 2.0 or higher and are supported by Visual Studio 2017 v 15.3 or later only. Learn more about Razor pages: Get started with Razor pages

Razor support for C# 7.1 is also available in this release.

ASP.NET Core 2.0 App metapackage

Now, no need to have separate metapackages. The Microsoft.AspNetCore.All metapackage for ASP.NET Core includes all supported packages by the ASP.NET Core team and EF Core.

Runtime Store

Applications that use the Microsoft.AspNetCore.All metapackage automatically take advantage of the new .NET Core Runtime Store. The Store contains all the runtime assets needed to run ASP.NET Core 2.0 applications.

SPA Support to JS Libraries

ASP.NET Core now supports various JavaScript libraries and frameworks including Angular, Aurelia, Knockout, React, React-redux and Vue.

Updated Libraries

ASP.NET Core 2.0 now has updated libraries for configuration, logging, authentication, and identity.

References:

https://docs.microsoft.com/en-us/aspnet/core/aspnetcore-2.0