Skip to content

Conversation

@StuartFerguson
Copy link
Member

  • 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.

Closes #124

- 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.
@StuartFerguson StuartFerguson merged commit 362a1d6 into main Jun 5, 2025
8 checks passed
@github-actions github-actions bot deleted the task/#124_net9_upgrade branch August 5, 2025 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Net 9

2 participants