Merged
Conversation
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade Chapter 2 to .NET 10
Upgrade Chapter 2 to .NET 10
Dec 12, 2025
Collaborator
Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Collaborator
Contributor
Author
Verified that all changes align with PR #228 approach. The migration file formatting fixes and Microsoft.AspNetCore.Http.Abstractions removals are necessary for .NET 10 compatibility - they cause build failures if not addressed. Build and all 14 tests pass successfully on .NET 10. |
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.
📋 Description
Upgrades Chapter 2 from .NET 9 to .NET 10, including framework retargeting, package updates for compatibility, API migration for breaking changes, and CI/CD pipeline configuration.
Framework & Packages
TargetFrameworktonet10.0API Migration
Replaced deprecated
WithOpenApi()withWithSummary()+WithDescription()in endpoint definitions:Applied to:
SignContractEndpoint,PrepareContractEndpoint,GenerateNewPassesPerMonthReportEndpoint,GetAllPassesEndpoint,MarkPassAsExpiredEndpointCI/CD Pipeline
Project Cleanup
Microsoft.AspNetCore.Http.Abstractionsreferences from projects withFrameworkReference Include="Microsoft.AspNetCore.App"(NU1510 warnings).editorconfig(file-scoped namespaces with internal using directives)📦 PR Includes
🚫 PR Does Not Include
💡 Additional Notes
All existing tests pass (14 integration tests). Migration file formatting fixes were necessary to satisfy stricter code style enforcement in .NET 10 tooling.
Files modified:
Directory.Build.propsDirectory.Packages.props.csprojfiles (package reference cleanup).github/workflows/chapter-2-workflow.yml- CI/CD pipeline configurationOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.