Migrate ASP.Net core from 5.0 to 6.0
I try to migrate my web api project from .Net5 to .Net6, using VsCode
editor.
Migrate .Net Core project
1. Download and install .net6 SDK from Microsoft website
2. Modify TargetFramework
from 5.x.x to 6.0.0 in .csproj file

3. Update relative Nuget package to 6.0 with command dotnet add <package name> --version <version>
4. Build project and run test
Update images
If you are using docker, then also need to update Dockerfile and images. Follow below:
1. Modify tags in Dockerfile

2. Build project with docker build
and run project with docker run
to verify