Upgrade to .NET 9.0 and update dependencies#125
Merged
StuartFerguson merged 3 commits intomainfrom Jun 5, 2025
Merged
Conversation
- Updated target framework from `net8.0` to `net9.0` across multiple projects. - Upgraded several package references, including `MediatR`, `Microsoft.EntityFrameworkCore.DynamicLinq`, `Shared`, and `TransactionProcessor.Database`, for compatibility and new features. - Modified average sales calculations in `ReportingManager.cs` to use `SafeDivide` for better error handling. - Cleaned up using directives in `EstateReportingApiClient.cs`. - Enhanced error handling in `DimensionControllerTests.cs` by using result objects for retrieving calendar years and comparison dates. - Adjusted comparison date calculation in `FactTransactionsControllerTests.cs`. - Added new using directive for `Shared.Results.Web` in several controller files to support new functionality. - Updated Swagger and authentication package references in `EstateReportingAPI.csproj` for improved API documentation and security. - Upgraded `NLog` and `Lamar` packages for potential performance improvements.
Upgraded the .NET SDK in both standard and Windows-based Dockerfiles from version 8.0 to 9.0. This change enhances the build environment with new features, improvements, and bug fixes available in the latest SDK.
This commit introduces a step to install .NET version 9.x using `actions/setup-dotnet@v4.0.1` in multiple GitHub Actions workflow files. The updated files include `buildwindowsimage.yml`, `createrelease.yml`, `nightlybuild.yml`, `pullrequest.yml`, and `pushtomaster.yml`, ensuring that .NET is available for subsequent tasks like restoring NuGet packages and building the code.
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.0across multiple projects.MediatR,Microsoft.EntityFrameworkCore.DynamicLinq,Shared, andTransactionProcessor.Database, for compatibility and new features.ReportingManager.csto useSafeDividefor better error handling.EstateReportingApiClient.cs.DimensionControllerTests.csby using result objects for retrieving calendar years and comparison dates.FactTransactionsControllerTests.cs.Shared.Results.Webin several controller files to support new functionality.EstateReportingAPI.csprojfor improved API documentation and security.NLogandLamarpackages for potential performance improvements.Closes #124