Today we’re very happy to announce that the first preview of the next minor release of ASP.NET Core and .NET Core is now available for you to try out. We’ve been working hard on this release over the past months, along with many folks from the community, and it’s now ready for a wider audience to try it out and provide the feedback that will continue to shape the release.
How do I get it?
You can download the new .NET Core SDK for 2.2.0-preview1 (which includes ASP.NET 2.2.0-preview1) from https://www.microsoft.com/net/download/dotnet-core/2.2.
Visual Studio requirements
Customers using Visual Studio should also install and use the Preview channel of Visual Studio 2017 (15.9 Preview 1 at the time of writing) in addition to the SDK when working with .NET Core 2.2 and ASP.NET Core 2.2 projects.
Azure App Service Requirements
If you are hosting your application on Azure App Service, you should follow these instructions to install the site extension for hosting your 2.2.0-preview1 applications.
Impact to machines
Please note that is a preview release and there are likely to be known issues and as-yet-to-be discovered bugs. While the .NET Core SDK and runtime installs are side-by-side, your default SDK will become the latest one. If you run into issues working on existing projects using earlier versions of .NET Core after installing the preview SDK, you can force specific projects to use an earlier installed version of the SDK using a global.json
file as documented here. Please log an issue if you run into such cases as SDK releases are intended to be backwards compatible.
What’s new in 2.2
We’re publishing a series of posts here that go over some of the new feature areas in detail. We’ll update the post with links to these posts as they go live over the coming days:
- API Controller Conventions
- Endpoint Routing
- Health Checks
- HTTP/2 in Kestrel
- Improvements to IIS hosting
- SignalR Java client
In addition to these features area, we’ve also:
- Updated our web templates to Bootstrap 4 and Angular 6
You can see these new features in action in our most recent ASP.NET Community Standup.
For a detailed list of all features, bug fixes, and known issues refer to our release notes.
Migrating an ASP.NET Core 2.1 project to 2.2
To migrate an ASP.NET Core project from 2.1.x to 2.2.0-preview1, open the project’s .csproj
file and change the value of the the <TargetFramework>
element to netcoreapp2.2
. You do not need to do this if you’re targeting .NET Framework 4.x.
Giving Feedback
The main purpose of providing previews is to solicit feedback so we can refine and improve the product in time for the final release. Please help provide us feedback by logging issues in the appropriate repository at https://github.com/aspnet or https://github.com/dotnet. We look forward to receiving your feedback!