Skip to content

Conversation

@thaystg
Copy link
Member

@thaystg thaystg commented Sep 21, 2022

ScreenRecorderProject1.mp4

@ghost
Copy link

ghost commented Sep 21, 2022

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details
ScreenRecorderProject1.mp4
Author: thaystg
Assignees: -
Labels:

area-Debugger-mono

Milestone: -

@thaystg thaystg added the arch-wasm WebAssembly architecture label Sep 21, 2022
@ghost
Copy link

ghost commented Sep 21, 2022

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details
ScreenRecorderProject1.mp4
Author: thaystg
Assignees: thaystg
Labels:

arch-wasm, area-Debugger-mono

Milestone: -

@thaystg thaystg requested a review from radekdoulik September 21, 2022 18:47
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5001;http://localhost:5000",
Copy link
Member

Choose a reason for hiding this comment

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

can we use https_port, and http_port here instead of the actual numbers?

Copy link
Member Author

Choose a reason for hiding this comment

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

These numbers will be replaced by a generated number as is done on blazor apps, they are not fixed. And also, after it's generated the user can change in this applicationUrl and we will respect it.
A generated file with the ports replaced:
image

"type": "generated",
"generator": "port",
"parameters": {
"low": 7000,
Copy link
Member

Choose a reason for hiding this comment

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

Maybe not relevant for this PR, but I noticed that the HTTPS didn't have a cert which my browser would trust. On the other hand any ASP.NET project has some dev cert installed. Could we also use it ?

debugging: _args.CommonConfig.Debugging);
runArgsJson.Save(Path.Combine(_args.CommonConfig.AppPath, "runArgs.json"));

var urls = new string[] { $"http://127.0.0.1:{_args.CommonConfig.HostProperties.WebServerPort}", "https://127.0.0.1:0" };
Copy link
Member

Choose a reason for hiding this comment

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

can we use localhost here instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes we can :)

@danwalmsley
Copy link

Curious to know, might this make it to RC2?

Very keen to try this out😎

@lewing lewing merged commit 5ab8349 into dotnet:main Sep 23, 2022
@lewing
Copy link
Member

lewing commented Sep 24, 2022

/backport to release/7.0

@github-actions
Copy link
Contributor

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3116836063

@lewing
Copy link
Member

lewing commented Sep 29, 2022

Curious to know, might this make it to RC2?

Very keen to try this out😎

It will be in 7.0 but it missed rc2

@ghost ghost locked as resolved and limited conversation to collaborators Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Debugger-mono

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants