Conversation
…es and Dockerfile Co-authored-by: Loupeznik <43666286+Loupeznik@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade the project to .NET9, do not forget to upgrade the dependencies like dotnet-ef versions and documentation (README.md) as well
Upgrade project to .NET 9 with updated dependencies and documentation
Sep 6, 2025
Owner
|
@copilot change the dotnet versions in CI (github workflows) as well |
Co-authored-by: Loupeznik <43666286+Loupeznik@users.noreply.github.com>
Contributor
Author
1 similar comment
Contributor
Author
Copilot
AI
changed the title
Upgrade project to .NET 9 with updated dependencies and documentation
Upgrade project to .NET 9 with updated dependencies, documentation, and CI/CD
Sep 6, 2025
Loupeznik
approved these changes
Sep 6, 2025
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.
This PR upgrades the ToDo App Template from .NET 8 to .NET 9, bringing the project up to the latest stable version of the .NET ecosystem.
Changes Made
Framework Upgrade
net9.0instead ofnet8.0mcr.microsoft.com/dotnet/aspnet:9.0-alpineandmcr.microsoft.com/dotnet/sdk:9.0)dotnet-version: 9.0.x)Package Updates
Entity Framework Core: Upgraded from 8.0.x to 9.0.8
Microsoft.EntityFrameworkCore→ 9.0.8Microsoft.EntityFrameworkCore.Design→ 9.0.8Npgsql.EntityFrameworkCore.PostgreSQL→ 9.0.4EFCore.NamingConventions→ 9.0.0Microsoft Extensions: Updated all Microsoft.Extensions packages from 8.0.0 to 9.0.8
Other Dependencies:
MediatR: 12.2.0 → 13.0.0Fluid.ViewEngine: 2.5.0 → 2.25.0FastEndpointspackages: 5.21.2 → 5.30.0 (maintained API compatibility)Documentation & Tooling
dotnet-eftool compatibility with .NET 9 (version 9.0.8)Bug Fixes
DZarsky.ToDoAppTemplate.Domain.csprojthat was causing build warningsVerification
✅ All projects build successfully without errors
✅ Entity Framework migrations and database commands work correctly
✅ Application starts and runs (database connection failures are expected without PostgreSQL)
✅ Docker build configuration updated and compatible
✅ GitHub workflow updated to use .NET 9 for CI builds
✅ All package dependencies resolve correctly
Compatibility Notes
The upgrade maintains full backward compatibility. There are 2 minor deprecation warnings in the FastEndpoints library, but these don't affect functionality. The FastEndpoints version was kept at 5.30.0 to avoid breaking API changes that would require code modifications.
This upgrade brings improved performance, security updates, and access to the latest .NET 9 features while maintaining the existing codebase structure.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.