microsoft / microsoft/aspire

[AspireE2E] When running an Aspire project and stopping the backend service, the frontend page displays "loading" and there is no error information in the dashboard.

Open
#15,430 0 comments 0 reactions 0 assignees View on GitHub
area-templates
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**REGRESSION INFO**: Also repro on Aspire CLI version 13.1.3

**INSTALL STEPS**

1. Clean machine: Windows x64 25h2
2. Install SDK 10.0 201
3. Install Aspire.CLI 13.2.0
- iex "& { $(irm https://aspire.dev/install.ps1) } -Quality staging"
- aspire config set -g features:stagingChannelEnabled true

**REPRO STEPS**

1. Open a normal Command Prompt
2. Use` aspire new` to create a Starter App (ASP.NET Core/React) project.
3. Go to the the AppHost project folder and run the app with `aspire run`
4. Click the 'Stop' button from the app in the aspire dashboard to stop backend service
5. Open the webfrontend and observe that it is constantly loading.
Image

**NOTE**: This issue also repro on Starter App (Express /React) and Starter App (FastAPI /React) templates.

**Actual Result**
The Resources and Structured pages do not contain any error messages.
Image

Image

**Expected Result**
It should display some error messages, similar to the Starter App (ASP.NET Core/Blazor) template.
Image

Image

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.