Skip to content

Commit 7bdbf0a

Browse files
authored
Update ASP.NET Core 5.0 migration guide for Preview 4 (#18489)
* Update ASP.NET Core 5.0 migration guide for Preview 4 * minor edit * Add link to GitHub issue
1 parent f8addb3 commit 7bdbf0a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

aspnetcore/migration/31-to-50.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: scottaddie
44
description: Learn how to migrate an ASP.NET Core 3.1 project to ASP.NET Core 5.0.
55
ms.author: scaddie
66
ms.custom: mvc
7-
ms.date: 04/28/2020
7+
ms.date: 05/26/2020
88
no-loc: [Blazor, "Identity", "Let's Encrypt", Razor, SignalR]
99
uid: migration/31-to-50
1010
---
@@ -41,7 +41,7 @@ If you rely upon a [global.json](/dotnet/core/tools/global-json) file to target
4141
{
4242
"sdk": {
4343
- "version": "3.1.200"
44-
+ "version": "5.0.100-preview.3.20216.6"
44+
+ "version": "5.0.100-preview.4.20258.7"
4545
}
4646
}
4747
```
@@ -69,19 +69,22 @@ In the project file, update each `Microsoft.AspNetCore.*` and `Microsoft.Extensi
6969
<ItemGroup>
7070
- <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.2" />
7171
- <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="3.1.2" />
72-
+ <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.0-preview.3.20215.14" />
73-
+ <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0-preview.3.20215.2" />
72+
+ <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.0-preview.4.20257.10" />
73+
+ <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0-preview.4.20251.6" />
7474
</ItemGroup>
7575
```
7676

7777
## Update Docker images
7878

79-
For apps using Docker, use a base image that includes the ASP.NET Core 5.0 runtime. For example:
79+
For apps using Docker, update your *Dockerfile* `FROM` statements and scripts. Use a base image that includes the ASP.NET Core 5.0 runtime. Consider the following `docker pull` command difference between ASP.NET Core 3.1 and 5.0:
8080

81-
```bash
82-
docker pull mcr.microsoft.com/dotnet/core/aspnet:5.0
81+
```diff
82+
- docker pull mcr.microsoft.com/dotnet/core/aspnet:3.1
83+
+ docker pull mcr.microsoft.com/dotnet/aspnet:5.0
8384
```
8485

86+
As part of the move to ".NET" as the product name, the Docker images moved from the `mcr.microsoft.com/dotnet/core` repositories to `mcr.microsoft.com/dotnet`. For more information, see [dotnet/dotnet-docker#1939](https://github.com/dotnet/dotnet-docker/issues/1939).
87+
8588
## Review breaking changes
8689

8790
For breaking changes from .NET Core 3.1 to .NET 5.0, see [Breaking changes for migration from version 3.1 to 5.0](/dotnet/core/compatibility/3.1-5.0). ASP.NET Core and Entity Framework Core are also included in the list.

0 commit comments

Comments
 (0)