-
Notifications
You must be signed in to change notification settings - Fork 847
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When deploying a .NET 10 Aspire application using azd up, the provisioned Azure App Service for the Aspire Dashboard is pinned to an older runtime version. This results in a version discrepancy where the local dashboard runs on .NET 10 (Aspire 13.1), but the cloud instance runs on an older runtime (.NET 8).
Expected Behavior
azd should detect the targeted Aspire version from the application model or SDK context and deploy the corresponding dashboard container image (e.g., mcr.microsoft.com/dotnet/aspire-dashboard:13.0) to ensure feature parity between local and cloud environments.
Steps To Reproduce
- Create a new Aspire project
AppHost.cs
...
var ServiceEnv = builder.AddAzureAppServiceEnvironment("ServiceEnv")
.WithDashboard(enable: true)
.WithAzureContainerRegistry(sharedAcr)
.ConfigureInfrastructure(infra =>
{
var env = infra.GetProvisionableResources()
.OfType<AppServicePlan>()
.Single();
env.Kind = "linux";
env.Sku = new AppServiceSkuDescription()
{
Name = "B2",
Tier = "Basic"
};
env.IsReserved = true;
env.IsPerSiteScaling = false;
});
...- Ensure global.json is set to .NET 10.
- Run
azd init,azd infra genandazd up. - Check the deployed Azure App Service configuration for the dashboard resource.
On Local:
Exceptions (if any)
No response
.NET Version info
.NET SDK:
Version: 10.0.100
Commit: b0f34d51fc
Workload version: 10.0.101.1
MSBuild version: 18.0.2+b0f34d51f
Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: ubuntu.24.04-x64
Base Path: /usr/lib/dotnet/sdk/10.0.100/
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
Host:
Version: 10.0.0
Architecture: x64
Commit: b0f34d51fc
.NET SDKs installed:
8.0.122 [/usr/lib/dotnet/sdk]
10.0.100 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.22 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.0 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.22 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
/home/dlim/PowerToolsWeb/global.json
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Anything else?
dotnet --version
10.0.100
aspire --version
13.1.0+8a4db1775c3fbae1c602022b636299cb04971fde
azd version
azd version 1.23.2 (commit 83096ae8add9cb037f8fa138510a433eb0513536)
Currently, I deployed the standalone dashboard using AddContainer in AppHost.cs but I can't only see the log.
