Skip to content

Conversation

@SeferMirza
Copy link
Member

@SeferMirza SeferMirza commented Jan 31, 2025

Upgrade .Net, C# and other versions.

Tasks

  • Learn .NET 8 Epic / .NET 9 learn-dotnet#36
  • Update .Net and Language version.
    • version in .csproj
    • version in workflows
    • version in sample
    • version in docker
  • Migration plan
    • Use status code selector in exception handler
    • Migrate to property in regex source generation
    • If Base64 encoded information is carried in the url, use
      Base64Url.
    • If need to take parameters with an Array using params
      and then convert to IEnumerable type, use IEnumerable instead of
      Array.
    • Use the new linQ extensions(CountBy, AggregateBy,
      Index<TSource>(IEnumerable<TSource>)).
    • Use new TimeSpan.From* overloads
      • FromDays
      • FromHours
      • FromMinutes
      • FromSeconds
      • FromMilliseconds
      • FromMicroseconds
    • Use Keyed Services in Middlewares.
  • Upgrade Issues
    • Antlr3.runtime access denied issue on windows, unable to access issue on
      linux
  • Migrations page on website

Additional Tasks

  • Remove the whole base namespace (not just first part) from open api types

@SeferMirza SeferMirza self-assigned this Jan 31, 2025
@SeferMirza SeferMirza marked this pull request as ready for review February 3, 2025 09:14
@SeferMirza SeferMirza merged commit 8735080 into mouseless:main Feb 3, 2025
7 checks passed
@SeferMirza SeferMirza deleted the issue/net-9-update branch February 3, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants