ASP. NET Core 2.2.0-preview1 has been released
Original address ASP. NET Core 2.2.0-preview1 now available
Today we are pleased to announce that we can now try out the first preview of the next minor version of ASP and. NET Core. Over the past few months, we've developed this version with a lot of people in the community, and now it's ready to let a wider audience try it and provide feedback that will help us better refine this version.
Where can I download it to 2.2.0-preview1?
You can download the. NET Core 2.2.0-preview1 version of the SDK from here (including ASP. 2.2.0-preview1)
Visual Studio Version Requirements
In addition to installing the SDK provided above, developers who use Visual Studio will need to install the preview version of Visual Studio 2017 when creating. NET Core 2.2 and ASP 2.2 projects (at the time of writing this article, the visual Studio Preview version is 15.9 preview 1)
Azure App Service Requirements
If you are running an application using Azure app service, you should read these documents to install the site extensions for hosting 2.2.0-preview1 applications
Impact on the machine environment
It is important to note that this is a preview version and there may be known and not-found errors. Although the. NET Core SDK and runtime are common to multiple versions, the default SDK becomes the latest SDK. If you experience problems with earlier versions of. NET core projects after installing the Preview SDK, you can force specific projects to use the specified SDK version according to the Global.json file described in this document, and if you encounter a backward compatibility issue with the SDK version, please present a issue
What's new in 2.2.0
We will post a series of blogs about the new features in 2.2.0, which will be published in the next few days, and the navigation links will be updated in this article (note: Translations will be updated in the next few days)
- API Controller conventions
- Endpoint Routing
- Health Check
- The HTTP/2 in Kestrel
- Improving IIS Hosting
- SignalR Java Client
In addition to these features, we also have
- To update the Web Template to BOOTSTRAP4 and ANGULAR6
You can see the actual application of these new features in the ASP.
See our release Notes for a list of all features, error lists, and known issues with 2.2.0-preview1
Migrating an ASP. NET Core 2.1 project to 2.2
The way to migrate an ASP. NET core project from 2.1.x to 2.2.0-preview1 is simple, open the project's. csproj file and change the value of the <TargetFramework> element to netcoreapp2.2. If your project is the. NET Framework 4.x, you do not need to do this (because it requires a more complex migration approach).