ASP.NET Core updates in .NET 5 Preview 1

Avatar

Sourabh

.NET 5 Preview1 is now available and is ready for evaluation! .NET 5 will be a current release.

Get started

To get started with ASP.NET Core in .NET 5.0 install the .NET 5.0 SDK.

If you’re on Windows using Visual Studio, we recommend installing the latest preview of Visual Studio 2019 16.6.

If you’re on macOS, we recommend installing the latest preview of Visual Studio 2019 for Mac 8.6.

Upgrade an existing project

To upgrade an existing ASP.NET Core 3.1 app to .NET 5:

  • Update the TargetFramework property to netcoreapp5.0
  • Update all Microsoft.AspNetCore.* package references to 5.0.0-preview.1.20124.5.
  • Update all Microsoft.Extensions.* package references to 5.0.0-preview.1.20120.4.

See the full list of breaking changes in ASP.NET Core 5.0.

That’s it! You should now be all set to use .NET 5.

What’s new?

ASP.NET Core in .NET 5 Preview 1 doesn’t include any major new features just yet, but it does include plenty of minor bug fixes. We expect to announce new features in upcoming preview releases.

See the release notes for additional details and known issues.

Give feedback

We hope you enjoy this release of ASP.NET Core in .NET 5! We are eager to hear about your experiences with this latest .NET 5 release. Let us know what you think by filing issues on GitHub.

Thanks for trying out ASP.NET Core!

1 comment

Comments are closed. Login to edit/delete your existing comments