Skip to content

chore: upgrade from .NET Core 2.1 to .NET 8.0#3

Open
ghostyappbeta[bot] wants to merge 1 commit into
masterfrom
chore/upgrade-dependencies
Open

chore: upgrade from .NET Core 2.1 to .NET 8.0#3
ghostyappbeta[bot] wants to merge 1 commit into
masterfrom
chore/upgrade-dependencies

Conversation

@ghostyappbeta

@ghostyappbeta ghostyappbeta Bot commented Feb 25, 2026

Copy link
Copy Markdown

This pull request was generated by @kiro-agent 👻

Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent


Summary

Full framework migration from .NET Core 2.1 to .NET 8.0 with all necessary code changes.

Key Changes

  • Target framework: netcoreapp2.1net8.0
  • Swashbuckle.AspNetCore: 4.0.16.9.0 (with InfoOpenApiInfo migration)
  • CodeGeneration.Design: 2.1.18.0.7
  • JSON serialization: Migrated from Newtonsoft.Json to System.Text.Json
  • Hosting: WebHost.CreateDefaultBuilderHost.CreateDefaultBuilder
  • Routing: UseSignalR/UseMvcUseEndpoints pattern
  • Environment: IHostingEnvironmentIWebHostEnvironment
  • Removed obsolete packages (Microsoft.AspNetCore.App, Razor.Design)
  • Added <Nullable>enable</Nullable> and <ImplicitUsings>enable</ImplicitUsings>
  • CHANGELOG.md added documenting all changes

After Merging

Run dotnet restore && dotnet build to verify the build succeeds.

- Target framework: netcoreapp2.1 → net8.0
- Swashbuckle.AspNetCore: 4.0.1 → 6.9.0 (Info → OpenApiInfo)
- Microsoft.VisualStudio.Web.CodeGeneration.Design: 2.1.1 → 8.0.7
- Removed obsolete packages: Microsoft.AspNetCore.App, Razor.Design
- Replaced Newtonsoft.Json with System.Text.Json
- Replaced WebHost with Host.CreateDefaultBuilder
- Migrated to endpoint routing (UseRouting + UseEndpoints)
- Replaced IHostingEnvironment with IWebHostEnvironment
- Added Nullable and ImplicitUsings enable

Co-authored-by: Michael Landi <1298427+michaellandi@users.noreply.github.com>
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.

1 participant