aau-giraf / web-api

The backend API for GIRAF — a .NET-core project written in C#.
GNU General Public License v3.0
2 stars 5 forks source link

Update from .NET 6 to .NET 8 #311

Closed AOsnes closed 11 months ago

AOsnes commented 1 year ago

Description

Describe the Task \ The web-api is currently running on .NET 6. Support for .NET 6 will end in 2024. .NET 8 will be released in 2023 which means the GIRAF developers have a year to migrate before support ends. It is recommended to do before last minute.

Possible Suggested Solution

andreaskrath commented 11 months ago

At the time of writing .NET 8 and EF Core 8 are not released yet, the former is scheduled for November 18th, with the latter scheduled for a November release as well.

However, both .NET and EF Core 8 currently have release candidates, which mean features are stabilized and the only difference between the release candidates and the final releases are bug fixes.

As a result, the decision has been to update both .NET 8 and EF Core 8 from 6 to 8, using the release candidates until the official releases are published.

KristianS93 commented 11 months ago

Update from .NET 6 to 8 RC is completed, required an update to the AspNetCore.Mvc.Testing package, as integrationtests were failing.

andreaskrath commented 11 months ago

Although an update from EF6 to EF Core 8 was mentioned earlier in the issue as part of the upgrade, it will be handled in its own issue.

KristianS93 commented 11 months ago

Very important: The sdk in the github actions HAS to be changed when the official .NET 8.0 is released.