Upgrade to .NET 9 and update related configurations#696
Merged
StuartFerguson merged 10 commits intomasterfrom Jun 4, 2025
Merged
Upgrade to .NET 9 and update related configurations#696StuartFerguson merged 10 commits intomasterfrom
StuartFerguson merged 10 commits intomasterfrom
Conversation
- Updated GitHub Actions workflows to install .NET 9. - Changed target framework from `net8.0` to `net9.0` in multiple project files. - Updated package references to latest versions compatible with .NET 9. - Modified Dockerfiles to use .NET SDK 9 base images. - Added configuration for in-memory database in unit tests. - Updated integration test feature files for namespace changes and compatibility.
Updated the base and build images in `Dockerfile` and `DockerfileWindows` from .NET 8.0 to .NET 9.0. This upgrade includes new features, performance improvements, and security updates.
Changed `<TargetFrameworks>` to `<TargetFramework>` in `SecurityService.csproj` to specify that the project now targets only `net9.0`.
- Removed `Pomelo.EntityFrameworkCore.MySql` from unit tests. - Added `using Microsoft.Extensions.Logging;` in `StartupExtensions.cs`. - Updated `AddIdentityServerStorage` to include sensitive data logging and console logging. - Enhanced `AddDbContext<AuthenticationDbContext>` with similar logging capabilities.
- Added logging statements in UserRequestHandler for better tracking of password change operations. - Updated connection strings in DockerHelper for improved organization and added AuthenticationDbContext. - Refined formatting and error handling in OnPost method of Index.cshtml.cs. - Simplified in-memory database condition check in IdentityServerRegistry.
Uncommented the `--headless` argument in `Hooks.cs` to allow the Chrome browser to run in headless mode. This change facilitates automated testing by running the browser without a graphical user interface.
Added connection strings for `PersistedGrantDbContext`, `ConfigurationDbContext`, and `AuthenticationDbContext` using the `SetConnectionString` method. The connection strings are dynamically named based on `TestId` and utilize the `UseSecureSqlServerDatabase` property.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
net8.0tonet9.0in multiple project files.Closes #689