Upgrade ASP.NET Core projects to .NET 9#42
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Conversation
- Updated all 15 ASP.NET Core projects from .NET 6/8 to .NET 9 - Updated Microsoft.EntityFrameworkCore.* packages to 9.0.16 - Updated Microsoft.AspNetCore.* packages to 9.0.16 - Updated Microsoft.Data.SqlClient to 6.0.2 - Updated System.Drawing.Common to 9.0.5 - Updated Microsoft.IdentityModel.* and System.IdentityModel.* to 8.7.0 - Updated Microsoft.Extensions.Http to 9.0.5 - Removed deprecated Microsoft.AspNetCore.SpaServices.Extensions from React, Stencil, Vue2, Vue3 - Removed deprecated Microsoft.AspNetCore.ApiAuthorization.IdentityServer from Blazor WASM Server - Migrated Blazor WASM Server from ApiAuthorizationDbContext to IdentityDbContext - Replaced AddApiAuthorization with AddAuthorizationCore in Blazor WASM Client - Updated SpaProxy version references for Angular and Vue3 - Cleaned up deprecated VueCliMiddleware references in Vue3 Co-Authored-By: shahmir.masood <shahmir.masood@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades all 15 ASP.NET Core projects under
AspNetCore/from .NET 6 or .NET 8 to .NET 9. Legacy projects (AspNet4/,WinForms/,Wpf/) are untouched.Projects upgraded (15 total)
From .NET 8 → .NET 9 (7 projects):
AspNetCore/Angular/AdHocReporting/AdHocReporting.ServerAspNetCore/Angular/AdvancedSearchAspNetCore/Razor-Mvc/Mvc.DataFilteringAspNetCore/Razor-Mvc/Razor.AdHocReportingAspNetCore/Razor-Mvc/Razor.AdvancedSearchAspNetCore/Razor-Mvc/Razor.DataFilteringAspNetCore/Razor-Mvc/RazorTypeScript.AdHocReportingFrom .NET 6 → .NET 9 (8 projects):
8.
AspNetCore/Blazor/AdHocReporting.BlazorWasm/Client9.
AspNetCore/Blazor/AdHocReporting.BlazorWasm/Server10.
AspNetCore/Blazor/AdHocReporting.BlazorWasm/Shared11.
AspNetCore/Blazor/AdvancedSearch.BlazorServer12.
AspNetCore/React/AdvancedSearch13.
AspNetCore/Stencil/AdvancedSearch14.
AspNetCore/Vue2/AdvancedSearch15.
AspNetCore/Vue3/AdvancedSearch.ServerPackage upgrades
Microsoft.EntityFrameworkCore.*→ 9.0.16Microsoft.AspNetCore.*→ 9.0.16Microsoft.Data.SqlClient→ 6.0.2System.Drawing.Common→ 9.0.5Microsoft.IdentityModel.JsonWebTokens/System.IdentityModel.Tokens.Jwt→ 8.7.0Microsoft.Extensions.Http→ 9.0.5Microsoft.AspNetCore.SpaProxy→ 9.0.16Breaking changes handled
Microsoft.AspNetCore.SpaServices.Extensions(deprecated in .NET 9) from React, Stencil, Vue2, Vue3 projects. RemovedAddSpaStaticFiles(),UseSpaStaticFiles(), andUseSpa()calls from Startup.cs, replaced with static file serving andMapFallbackToFile.Microsoft.AspNetCore.ApiAuthorization.IdentityServer(deprecated in .NET 9) from Blazor WASM Server project. MigratedAppDbContextfromApiAuthorizationDbContext<T>toIdentityDbContext<T>, replacedAddIdentityServer().AddApiAuthorization()withAddDefaultIdentity().AddAuthentication(), and updatedOidcConfigurationController.AddApiAuthorization()withAddAuthorizationCore()in Blazor WASM Client.VueCliMiddlewarereferences in Vue3.SpaProxyversion from wildcard6.*-*to explicit9.0.16in Vue3.CI/CD
The existing workflow (
archive2cdn.yml) only archives and uploads files — it does not use the .NET SDK, so no workflow changes were necessary.Review & Testing Checklist for Human
dotnet buildusing .NET 9 SDKNotes
Korzh.DbUtils.*packages kept at 1.4.1 (latest available).Link to Devin session: https://app.devin.ai/sessions/6d85a8e2d12f4f3e91ae8269f69e8502
Devin Review