Skip to content

Upgrade from .NET Core 2.1 to .NET 8.0 LTS - #2

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

Upgrade from .NET Core 2.1 to .NET 8.0 LTS#2
ghostyappbeta[bot] wants to merge 1 commit into
masterfrom
upgrade-dependencies

Conversation

@ghostyappbeta

@ghostyappbeta ghostyappbeta Bot commented Feb 24, 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

Upgrades EventMapr from .NET Core 2.1 to .NET 8.0 LTS, the current long-term support release.

Changes

  • Target framework: netcoreapp2.1net8.0
  • Hosting model: Migrated from Startup.cs class to the .NET 8 minimal hosting model (WebApplication.CreateBuilder) in Program.cs; deleted Startup.cs
  • NuGet packages: Removed deprecated Microsoft.AspNetCore.App/Razor.Design/CodeGeneration.Design; updated Swashbuckle 4.0.16.5.0; enabled Nullable and ImplicitUsings
  • Serialization: Switched from Newtonsoft.Json to System.Text.Json in ConfigurationController
  • Dockerfile: Updated base images to mcr.microsoft.com/dotnet/sdk:8.0 and mcr.microsoft.com/dotnet/aspnet:8.0
  • SignalR client: Updated from @aspnet/signalr@1.0.3 to @microsoft/signalr@8.0.0 in libman.json
  • Solution file: Updated Visual Studio version to 17
  • README: Updated SDK reference to .NET 8.0
  • CHANGELOG.md: Created with upgrade documentation

Testing

Code-reviewed only. The sandbox environment did not have the .NET SDK installed and had no external network access, so build/test verification was not possible. A build should be run after merge to confirm everything compiles cleanly.

- Update target framework from netcoreapp2.1 to net8.0
- Migrate from Startup.cs pattern to minimal hosting model in Program.cs
- Update Swashbuckle.AspNetCore from 4.0.1 to 6.5.0 (Info -> OpenApiInfo)
- Remove deprecated packages: Microsoft.AspNetCore.App, Razor.Design, CodeGeneration.Design
- Replace Newtonsoft.Json with default System.Text.Json in ConfigurationController
- Migrate from UseSignalR/UseMvc to endpoint routing (MapHub/MapControllers)
- Update Dockerfile to use mcr.microsoft.com/dotnet images
- Update SignalR client from @aspnet/signalr@1.0.3 to @microsoft/signalr@8.0.0
- Update solution file Visual Studio version references
- Update README.md to reference .NET 8.0 SDK
- Add CHANGELOG.md documenting the upgrade

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