Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Longer Expose Ports Manually During Sdk Build & Launch #4081

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

alexyaang
Copy link
Member

With .NET 8 SDK RC1, images that are built has existing expose ports logic so we no longer need to export 8080 and 80 manually.

This also closes #4006 since the old behavior in browseContainer() would just choose 80 by default and open a port that is not published for .NET 8. However, with the new SDK exposing ports change and us not exposing ports manually, the only available port is the port auto exposed by the .NET SDK (8080), therefore, fixing the problem.

@alexyaang alexyaang requested a review from a team as a code owner September 21, 2023 16:47
@alexyaang alexyaang merged commit 8da7673 into main Sep 21, 2023
2 checks passed
@alexyaang alexyaang deleted the yangalex/removeExposePortLogic branch September 21, 2023 16:57
@microsoft microsoft locked and limited conversation to collaborators Nov 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail to open a "Welcome" webpage after clicking "Open in Browser" from "dotnetapp:dev" container context menu
2 participants