microsoft / microsoft/aspire

`aspire ps` should include `DistributedApplicationOptions.DashboardApplicationName`

Open
#16,018 1 comment 0 reactions 0 assignees View on GitHub
area-app-testing area-cli enhancement
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

When creatin an application, you can configure a `DashboardApplicationName` property to give your application a friendly name. I'd like to see this included in `aspire ps` output.

Specifically, I was thinking of using this int he context of parallel testing. If I have concurrent tests running, I could use this name to identify which instance relates to which test execution.

```cs
var builder = DistributedApplicationTestingBuilder.Create([], (x, _) =>
{
x.DashboardApplicationName = TestContext.CurrentContext?.Test.Name;
});
```

### Describe the solution you'd like

The value of `DistributedApplicationOptions.DashboardApplicationName` should be included in the `aspire describe` output.

### Additional context

_No response_

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.