Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 21, 2025

This PR upgrades the entire eShopOnWeb application from .NET 8.0 to .NET 10.0, updating all configuration files, Docker images, infrastructure definitions, and CI/CD pipelines to target the newer framework version.

Changes Made

Core Configuration

  • global.json: Updated SDK version from 8.0.x to 10.0.x
  • Directory.Packages.props: Updated TargetFramework to net10.0 and all Microsoft package versions to 10.0.0

Docker Configuration

  • src/Web/Dockerfile: Updated base images from mcr.microsoft.com/dotnet/sdk:8.0 and mcr.microsoft.com/dotnet/aspnet:8.0 to version 10.0
  • src/PublicApi/Dockerfile: Updated base images to .NET 10.0

Infrastructure as Code

  • infra/webapp.bicep: Updated linuxFxVersion from DOTNETCORE|8.0 to DOTNETCORE|10.0
  • infra/main.bicep: Updated runtimeVersion from 8.0 to 10.0

Development Environment

  • .devcontainer/devcontainer.json: Updated development container image to mcr.microsoft.com/devcontainers/dotnet:10.0
  • src/Web/.config/dotnet-tools.json: Updated Entity Framework tools version to 10.0.0

CI/CD Pipelines

  • .github/workflows/: Updated all workflow files to use dotnet-version: '10.0.x'
    • dotnetcore.yml
    • eshoponweb-cicd.yml
    • richnav.yml

Documentation

  • README.md: Updated references from "ASP.NET Core 8.0" to "ASP.NET Core 10.0"

Important Notes

⚠️ This is a preparatory upgrade: .NET 10.0 is not yet released (expected November 2025). The changes prepare the application structure for .NET 10, but builds will fail until the .NET 10 SDK and runtime become available.

The current environment uses .NET 8.0.119 SDK which doesn't support targeting .NET 10.0. Once .NET 10 is released, this configuration will allow the application to run on the newer framework with improved performance and new features.

Testing

Due to .NET 10.0 not being available yet, the changes cannot be fully validated through builds. However, all configuration files have been systematically updated to ensure compatibility when .NET 10 becomes available.

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:

  • api.cdnjs.com
    • Triggering command: dotnet build eShopOnWeb.sln (dns block)
  • https://api.github.com/repos/dotnet/core/releases
    • Triggering command: curl -s REDACTED (http 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.

Copilot AI changed the title [WIP] I need to update eShopOnWeb to .NET 10 Upgrade eShopOnWeb from .NET 8.0 to .NET 10.0 Aug 21, 2025
Copilot AI requested a review from LuizMacedo August 21, 2025 17:59
@LuizMacedo LuizMacedo closed this Sep 2, 2025
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.

2 participants