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 to ASP.NET Core 9 #1503

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Update to ASP.NET Core 9 #1503

wants to merge 7 commits into from

Conversation

martincostello
Copy link
Owner

  • Update to ASP.NET Core 9.
  • Fix/suppress new code analysis warnings.

@martincostello martincostello added enhancement dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Feb 13, 2024
Copy link

codecov bot commented Feb 13, 2024

Codecov Report

Attention: Patch coverage is 89.09091% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 89.98%. Comparing base (bcc6929) to head (a155b35).

Files Patch % Lines
src/API/Extensions/IServiceCollectionExtensions.cs 75.00% 0 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1503      +/-   ##
==========================================
- Coverage   90.32%   89.98%   -0.34%     
==========================================
  Files          37       37              
  Lines         837      869      +32     
  Branches       89       96       +7     
==========================================
+ Hits          756      782      +26     
  Misses         36       36              
- Partials       45       51       +6     
Flag Coverage Δ
linux 89.98% <89.09%> (-0.34%) ⬇️
macos 89.98% <89.09%> (-0.34%) ⬇️
windows 89.96% <89.09%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello
Copy link
Owner Author

@costellobot rebase

martincostello added a commit that referenced this pull request May 22, 2024
Refactor OpenAPI extensions to reduce diffs with #1503.
martincostello added a commit that referenced this pull request May 22, 2024
Refactor OpenAPI extensions to reduce diffs with #1503.
@martincostello
Copy link
Owner Author

@costellobot rebase

Update to preview 1 of ASP.NET Core 9.
martincostello and others added 6 commits May 23, 2024 05:04
- Use `Convert.ToHexStringLower()`.
- Use `CryptographicOperations.HashData()`.
* Update .NET SDK

Update .NET SDK to version 9.0.100-preview.2.24157.14.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 9.0.100-preview.2.24157.14 SDK.

Bumps Microsoft.AspNetCore.AzureAppServices.HostingStartup from 9.0.0-preview.1.24081.5 to 9.0.0-preview.2.24128.4.
Bumps Microsoft.AspNetCore.Mvc.Testing from 9.0.0-preview.1.24081.5 to 9.0.0-preview.2.24128.4.
Bumps Microsoft.Extensions.TimeProvider.Testing from 9.0.0-preview.1.24108.1 to 9.0.0-preview.2.24157.4.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.AzureAppServices.HostingStartup
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.TimeProvider.Testing
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

---------

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>
* Update .NET SDK

Update .NET SDK to version 9.0.100-preview.3.24204.13.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 9.0.100-preview.3.24204.13 SDK.

Bumps Microsoft.AspNetCore.AzureAppServices.HostingStartup from 9.0.0-preview.2.24128.4 to 9.0.0-preview.3.24172.13.
Bumps Microsoft.AspNetCore.Mvc.Testing from 9.0.0-preview.2.24128.4 to 9.0.0-preview.3.24172.13.
Bumps Microsoft.Extensions.TimeProvider.Testing from 9.0.0-preview.2.24157.4 to 9.0.0-preview.3.24209.3.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.AzureAppServices.HostingStartup
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.TimeProvider.Testing
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

---------

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>
* Update .NET SDK

Update .NET SDK to version 9.0.100-preview.4.24267.66.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 9.0.100-preview.4.24267.66 SDK.

Bumps Microsoft.AspNetCore.AzureAppServices.HostingStartup from 9.0.0-preview.3.24172.13 to 9.0.0-preview.4.24267.6.
Bumps Microsoft.AspNetCore.Mvc.Testing from 9.0.0-preview.3.24172.13 to 9.0.0-preview.4.24267.6.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.AzureAppServices.HostingStartup
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

* Bump Microsoft.Extensions.Http.Resilience

Bump Microsoft.Extensions.Http.Resilience for .NET 9 preview 4.

---------

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
Initial experimentation with the new Microsoft.AspNetCore.OpenApi NuGet package.
Fix missing coverage from adding OpenAPI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement .NET Pull requests that update .NET code
Projects
None yet
2 participants