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

.NET 8 Upgrade (Multi Framework targetting) #2181

Merged
merged 17 commits into from
May 9, 2024
Merged

Commits on Mar 28, 2024

  1. Update dependencies and project files to .net8. Also fix nullable iss…

    …ues that weren't causing issues in .net6. Also removed "ISystemClock" from authenticationhandlers as it is deprecated in .net8. Internally .net8 provides replacement so only change on our part was removing the param. all references to headerdictionary use trygetvalue and check that result count is 1 to make sure user didn't supply >1 role. when that is fulfilled , the stringvalues object is converted to string and the nullable error goes away.
    seantleonard committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    7d8028e View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Update targerframeworks for all projects to include net8 and net6.

    Add framework dependent constructors for EasyAuth/SimulatorAuthenticationHandlers. Directory.Packages.Props now has framework dependent section to define separate package versions.
    seantleonard committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    f145905 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1063902 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4518169 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1ab7ee5 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    dea4d4d View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. update jwt tests to use option "MapInboundClaims==false" so legacy cl…

    …aimtypes aren't used. (dotnet8 change, but this test modification is backwards compatible per successful "net6 tests".)
    
    update usings
    update notice file generation with latest sqlclient version
    behind scenes updated nuget dependency versions in our upstream feed. updating build pipeline comments. added mitigating helper function that is backwards compatible with net6 so that we don't get unhandled json exception that halts startup.
    revert accidental nuget feed change.
    seantleonard committed May 3, 2024
    Configuration menu
    Copy the full SHA
    ee9694d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    036c7a4 View commit details
    Browse the repository at this point in the history
  3. add both net6 and net8 sdks to all pipelines.

    Ignore seralize/deserialize unit test due to attempting to serialize when latest .net guidance says not to. Attached github discussion link from dotnet/runtime.
    seantleonard committed May 3, 2024
    Configuration menu
    Copy the full SHA
    903c4da View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    402ad76 View commit details
    Browse the repository at this point in the history
  5. ignore correct serializationdeserializationtest and add .net8/6 sdk i…

    …nstall to dwsql/mssql windows pipelines. Not just linux.
    seantleonard committed May 3, 2024
    Configuration menu
    Copy the full SHA
    021d1c3 View commit details
    Browse the repository at this point in the history
  6. update pipelines to json substitute connection strings for all net6 a…

    …nd net8 config files in test project.
    seantleonard committed May 3, 2024
    Configuration menu
    Copy the full SHA
    e339832 View commit details
    Browse the repository at this point in the history
  7. another attempt to get filetransform task to do json replace of conne…

    …ction string in configs in both net6 and net8 folders.
    seantleonard committed May 3, 2024
    Configuration menu
    Copy the full SHA
    c6dc14e View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. updates the publish.ps1 script to run dotnet publish for both net6.0 …

    …and net8.0 target frameworks explicitly and then optionally zip all the output.
    
    Updated create-manifest-file to accommodate the net8 and net6 multitarget builds.
    seantleonard committed May 6, 2024
    Configuration menu
    Copy the full SHA
    0e9ad76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cdc94d View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. updating TestDictionaryDatabaseObjectSerializationDeserialization tes…

    …t to preserve running on .net6 and apply fix to running on .net8 by removing object converter. After testing , this still works but a better solution may exist. moved Microsoft.Extensions.Configuration.Json/Binder to targetframework specific directory.packages.props section to align dependency versions with dotnetruntime versions. this helped ensure .net6 version of serializationdeserialization test to pass on both runtimes.
    seantleonard committed May 9, 2024
    Configuration menu
    Copy the full SHA
    2a8d46e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0dffcbf View commit details
    Browse the repository at this point in the history