HOW TO MIGRATION FROM ASP.NET CORE 3.1 TO 5.0?

 


THE PROJECT SHOULD USE THE BELOW STACK:

Vue JS front-end without any Razor Pages used in the project. The entire front-end is Vue JS application Entity Framework Core (Code First approach) here Asp.Net Core Web API SQL Server Database

VISUAL STUDIO UPDATE

First, you need to update your visual studio to core 5.0, Generally, update install .net SDK but you need to consider install core 5.0 SDK check here

CHANGE FRAMEWORK VERSION.

Time of the creating .net project you can able to select target .NET framework version.


All installed .NET frameworks will appear on the drop-down menu non-.NET Framework templates, for example, .NET Core templates, the Framework drop-down list doesn’t appear.

PROJECT FILE (.CSPROJ)

Now update versions of .NET frameworks to 5.0 which has core 3.1

NUGET PACKAGE UPDATES

Technically, the next step is to upgrade the rest of the packages used by the application to the newest possible version. In that context, I am using third party libraries for Vue JS Middleware and native libraries of .NET Core. But, it should be different in your scenario. So, it is really important to study it before starting migration.


Comments