Skip to content

Conversation

Copy link

Copilot AI commented Aug 25, 2025

This PR upgrades the SanpetePantry project from .NET 8 to .NET 9 and updates all NuGet packages to their latest versions for improved performance, security, and access to the latest framework features.

Changes Made

Framework Upgrade

  • Updated target framework from net8.0 to net9.0 in the project file
  • Updated Dockerfile base images from .NET 8 to .NET 9:
    • mcr.microsoft.com/dotnet/aspnet:8.0mcr.microsoft.com/dotnet/aspnet:9.0
    • mcr.microsoft.com/dotnet/sdk:8.0mcr.microsoft.com/dotnet/sdk:9.0

Package Updates

Updated all packages to their latest versions:

  • Microsoft packages: 8.0.09.0.8
    • Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
    • Microsoft.AspNetCore.Identity.EntityFrameworkCore
    • Microsoft.AspNetCore.Identity.UI
    • Microsoft.EntityFrameworkCore.Sqlite
    • Microsoft.EntityFrameworkCore.Tools
  • mailkit: 3.2.04.13.0
  • Microsoft.VisualStudio.Azure.Containers.Tools.Targets: 1.19.51.22.1
  • FluentEmail packages: Kept at 3.0.2 (latest available)

Code Quality Improvements

  • Fixed duplicate using directive warning in Routes.razor by removing redundant @using Shared directive (already imported globally in _Imports.razor)
  • Project now builds with zero warnings (previously had 1 warning)

Testing

  • ✅ Project builds successfully with .NET 9
  • ✅ Application runs correctly and starts without errors
  • ✅ All packages are at their latest compatible versions
  • ✅ No breaking changes detected in the upgrade

Benefits

  • Performance: Access to .NET 9 runtime optimizations and improvements
  • Security: Latest security patches and updates in all dependencies
  • Maintainability: Staying current with Microsoft's supported .NET versions
  • Future-proofing: Positioned for upcoming .NET ecosystem improvements

Fixes #20.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: curl -I -sSL --retry 5 --retry-delay 2 --connect-timeout 15 REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copy link
Author

Copilot AI commented Aug 25, 2025

@snow-jallen 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot AI and others added 2 commits August 25, 2025 22:05
Co-authored-by: snow-jallen <42281341+snow-jallen@users.noreply.github.com>
Co-authored-by: snow-jallen <42281341+snow-jallen@users.noreply.github.com>
Copilot AI changed the title [WIP] .net 9 upgrade Upgrade SanpetePantry to .NET 9 and update all packages to latest versions Aug 25, 2025
Copilot AI requested a review from snow-jallen August 25, 2025 22:10
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.

.net 9 upgrade

2 participants