Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Upgrade to .NET 10#119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Copilot wants to merge2 commits intomaster
base:master
Choose a base branch
Loading
fromcopilot/upgrade-to-dotnet-10
Draft

Conversation

Copy link

CopilotAI commentedOct 25, 2025
edited
Loading

Upgrades the project from .NET 8 to .NET 10.0 RC2 (10.0.100-rc.2.25502.107).

Configuration Updates

  • SDK/Runtime: Updatedglobal.json,Directory.Build.props,Dockerfile, and GitHub Actions workflow
  • Packages: Updated Microsoft.AspNetCore and Microsoft.EntityFrameworkCore packages to 10.0.0-rc.2, Swashbuckle.AspNetCore to 9.0.6
  • Build script: Changed target framework to net10.0 and added explicit solution file reference

Code Changes for .NET 10 Compatibility

Fixed async/await boundary violation:

// Before - fails in .NET 10if(!person.Hash.SequenceEqual(awaitpasswordHasher.Hash(password,person.Salt)))// Aftervarhash=awaitpasswordHasher.Hash(password,person.Salt);if(!person.Hash.SequenceEqual(hash))

Adopted .NET 10 collection expressions:

// BeforeprivatereadonlyList<IValidator<TRequest>>_validators=validators.ToList();// AfterprivatereadonlyList<IValidator<TRequest>>_validators=[..validators];

Other changes:

  • Added explicitpublic modifiers to interface members (now required)
  • Simplified null checks using null-conditional operators
  • Updated filter registration to use generic overload (Add<T>())

All 7 integration tests pass.

Original prompt

Upgrade this repo to use dotnet 10


💬 We'd love your input! Share your thoughts on Copilot coding agent in our2 minute survey.

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
CopilotAI changed the title[WIP] Upgrade repository to use dotnet 10Upgrade to .NET 10Oct 25, 2025
Copilot finished work on behalf ofadamhathcockOctober 25, 2025 15:34
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@adamhathcockadamhathcockAwaiting requested review from adamhathcock

At least 1 approving review is required to merge this pull request.

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@adamhathcock

[8]ページ先頭

©2009-2025 Movatter.jp