platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
253 stars 26 forks source link

Upgrade to .NET 9 #629

Closed tjementum closed 2 days ago

tjementum commented 2 days ago

Summary & Motivation

Upgrade the project from .NET 8 to .NET 9, bringing improved features and simplifying workflows. All .NET projects and the global global.json have been updated to target .NET 9. NuGet packages have also been upgraded to their .NET 9-compatible versions, except for Entity Framework, which remains on the older version due to test failures caused by multiple service registrations.

The Docker image has been updated to use mcr.microsoft.com/dotnet/aspnet:9.0-alpine, and GitHub Actions have been upgraded to use .NET 9. Additionally, the Aspire workload installation step has been removed from GitHub Actions, as it is no longer needed.

The SslCertificateManager has been refactored and simplified with .NET 9’s new cross-platform X509CertificateLoader.LoadPkcs12FromFile method, replacing the now-deprecated new X509Certificate2(certificateLocation, password). This change makes creating self-signed developer certificates for localhost significantly simpler and ensures compatibility across Mac and Windows platforms.

Checklist

linear[bot] commented 2 days ago

PP-254 Upgrade to .NET 9

sonarcloud[bot] commented 2 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

sonarcloud[bot] commented 2 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
16.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud