Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update projects to .NET 8 #395

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Update projects to .NET 8 #395

merged 1 commit into from
Aug 26, 2024

Conversation

twsouthwick
Copy link
Collaborator

When we brought in Microsoft.Extensions.Caching.StackExchangeRedis, it bumped the transitive version of Microsoft.IdentityModel to v7+ while before we used v6.x. There was a breaking change between these versions that switched Json.NET to System.Text.Json. However, our dependencies still used v6 of the OpenIdConnect which at runtime cannot find the new type. See https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/IdentityModel-7x#serialization-issues for details.

Easiest way to fix this is to bring in .NET 8 so the versions are all on the latest supported platforms. This brings in some required changes for downstream API access and application insights configuration.

When we brought in Microsoft.Extensions.Caching.StackExchangeRedis, it bumped the transitive version of Microsoft.IdentityModel to v7+ while before we used v6.x. There was a breaking change between these versions that switched Json.NET to System.Text.Json. However, our dependencies still used v6 of the OpenIdConnect which at runtime cannot find the new type.

Easiest way to fix this is to bring in .NET 8 so the versions are all on the latest supported platforms. This brings in some required changes for downstream API access and application insights configuration.

See https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/IdentityModel-7x#serialization-issues for details.
Copy link
Member

@mjrousos mjrousos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@twsouthwick twsouthwick added this pull request to the merge queue Aug 26, 2024
Merged via the queue into main with commit 5fa1828 Aug 26, 2024
2 checks passed
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