Skip to content

Instantly share code, notes, and snippets.

@madhub
Created March 24, 2024 17:42
Show Gist options
  • Save madhub/4b308cfa217b68058a83d7719939b91c to your computer and use it in GitHub Desktop.
Save madhub/4b308cfa217b68058a83d7719939b91c to your computer and use it in GitHub Desktop.

Update the Target Framework

<PropertyGroup>
  <TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

Update Dependencies

Adjust for Breaking Changes and Deprecated APIs

Move away from Microsoft.AspNetCore.Authentication.ISystemClock to System.TimeProvider

Impact : https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/8.0/isystemclock-obsolete#recommended-action Problem Details https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/8.0/problemdetails-custom-converters

Utilize New Features and APIs

ConcurrencyLimiterMiddleware - https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/8.0/concurrencylimitermiddleware-obsolete#recommended-action

Testing and Validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment