Skip to content

Show Proxy URL in devproxy status output - #2021

Merged
garrytrinder merged 1 commit into
dotnet:mainfrom
waldekmastykarz:status-proxy-url
Oct 28, 2026
Merged

garrytrinder merged 1 commit into
dotnet:mainfrom
waldekmastykarz:status-proxy-url

Conversation

@waldekmastykarz

Copy link
Copy Markdown
Collaborator

Closes #2020

devproxy status now shows the forward proxy as a full Proxy URL (instead of a bare Port), placed before API URL, matching detached startup output. JSON output additionally includes proxyUrl (existing port kept for compatibility).

  Proxy URL:        http://127.0.0.1:62466
  API URL:          http://127.0.0.1:62456

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 28, 2026 12:00
@waldekmastykarz
waldekmastykarz requested a review from a team as a code owner October 28, 2026 12:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the status-output change that distinguishes the proxy endpoint from the management API endpoint.

No open issues 🎉

What changed in this PR

Makes devproxy status consistent with detached startup output, helping users distinguish the forward proxy endpoint from the management API endpoint. Addresses #2020.

Changes:

  • Replaces the text Port field with a full Proxy URL, displayed before API URL.
  • Adds proxyUrl to JSON output while retaining port for compatibility.
File Description
DevProxy/​Commands/​StatusCommand.cs Displays the proxy URL in text and JSON status output.

Review effort: Balanced

@garrytrinder
garrytrinder merged commit 7a7a2b8 into dotnet:main Oct 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show Proxy URL consistently in devproxy status output

3 participants