microsoft / microsoft/aspire

Release Port from DCP if Resource is not running

Open
#8,895 1 comment 3 reactions 0 assignees View on GitHub
area-orchestrator
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 exposing a port via Endpoints the port is allocated by the DCP even if the application is not running, either by stopping or setting to explicitly start.

### Describe the solution you'd like

When the resource is not running the port should be released.

### Additional context

That change allows for debugging scenarios where a external project is added. The steps would be: stop the app in the dashboard and run the app in an IDE for example.

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.