ASP.NET Core updates in .NET 5 Preview 1
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
- Update all Microsoft.AspNetCore.* package references to
- Update all Microsoft.Extensions.* package references to
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.
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.
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!