microsoft / microsoft/aspire

[AspireE2E] The restart button in the console page is grayed out and disabled after restarting the project for web app project with Aspire 13.1.0

Open
#13,388 4 comments 0 reactions 1 assignee Claimed by @JamesNK View on GitHub
‼️regression-from-last-release area-dashboard needs-retriage
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**REGRESSION INFO:** Also repro in Aspire 13.0.2

**INSTALL STEPS**

1. Clean machine: Windows x64 25h2
1. Install SDK 10.0.101 form coherent build
1. Add internal dotnet 10 feed
1. Install Aspire CLI - version: 13.1.0-preview.1.25605.5
`iex "& { $(irm https://aspire.dev/install.ps1) } -Quality dev"`

**REPRO STEPS**
1. Open a normal Command Prompt
2. Use the following command to create an Asp.NET Core Razor App
```
md Razor
cd Razor
dotnet new sln
dotnet new razor -o Razor
dotnet sln add .\Razor\Razor.csproj
```
3. Run `aspire init` to initializes Aspire support in your existing .NET solution, and then press space to select the project.
4. Select the ServiceDefaults reference to AppHost project.
5. Select a template version to the aspire project and type enter to complete
6. Open Razor.AppHost/AppHost.cs file and add below code
`builder.AddProject("razor");`
7. Go to Razor.AppHost project:
`cd Razor.AppHost`
8. Run the project, and open URL in the browser
`aspire run`
9. In the Console logs page, click the ellipsis button
10. Click Restart button

**NOTE:**
1. This issue also repro on Blazor WebAssembly App with adding aspire support.
2. This issue does not repro on aspire start project
3. This issue does not repro on the Restart button on the Resources page.

**ACTUAL**
The restart button is grayed out and disabled after restarting the selected resource.

![Image](https://github.com/user-attachments/assets/08410590-c592-4654-8a1e-897ee3d4919f)

**RESULT**
The restart button should be clickable after restarting the selected resource.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.