Upgrade eShopOnWeb from .NET 8.0 to .NET 10.0 #386
Closed
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.
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
8.0.xto10.0.xTargetFrameworktonet10.0and all Microsoft package versions to10.0.0Docker Configuration
mcr.microsoft.com/dotnet/sdk:8.0andmcr.microsoft.com/dotnet/aspnet:8.0to version10.0Infrastructure as Code
linuxFxVersionfromDOTNETCORE|8.0toDOTNETCORE|10.0runtimeVersionfrom8.0to10.0Development Environment
mcr.microsoft.com/devcontainers/dotnet:10.010.0.0CI/CD Pipelines
dotnet-version: '10.0.x'dotnetcore.ymleshoponweb-cicd.ymlrichnav.ymlDocumentation
Important Notes
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.comdotnet build eShopOnWeb.sln(dns block)https://api.github.com/repos/dotnet/core/releasescurl -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.