Skip to content

Use custom DebugProxyHost to initialize DebugProxy config #19980

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

Merged
merged 2 commits into from
Mar 19, 2020
Merged

Use custom DebugProxyHost to initialize DebugProxy config #19980

merged 2 commits into from
Mar 19, 2020

Conversation

captainsafia
Copy link
Member

This PR creates a new DebugProxyHost that is used to configure and initialize the debugging proxy.

I migrated some of the applicable configs from the WebHostBuilder and migrated our configs that were in Program.cs to this class.

Following @pranavkm I also added support for loading configurations from a JSON file should we need this in the future.

Addresses #19909

@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Mar 18, 2020
Copy link
Member

@SteveSandersonMS SteveSandersonMS left a comment

Choose a reason for hiding this comment

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

This looks way better. Awesome!

@SteveSandersonMS
Copy link
Member

Oh BTW if you're merging this today, I think it should go into the blazor-wasm-preview4 branch (not blazor-wasm) unless @mkArtakMSFT still thinks we should take preview3 changes. I think it would be fine to have this in preview4, but am fine either way.

@pranavkm pranavkm added this to the blazor-wasm-3.2-preview4 milestone Mar 19, 2020
@captainsafia captainsafia changed the base branch from blazor-wasm to blazor-wasm-preview4 March 19, 2020 16:26
@captainsafia captainsafia merged commit c7d3c1f into dotnet:blazor-wasm-preview4 Mar 19, 2020
@captainsafia captainsafia deleted the safia/dbg-launch-fix branch March 19, 2020 16:51
@mkArtakMSFT mkArtakMSFT added the feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly label Mar 20, 2020
ghost pushed a commit that referenced this pull request Mar 25, 2020
* Restore public API contract on WebAssemblyJSRuntime (#19968)

* Shrink icon-512.png (#19999)

* Use custom DebugProxyHost to initialize DebugProxy config (#19980)

Addresses #19909

* Spruce up WebAssemblyHostEnvironment interface and use (#20008)

* Load .dlls/.wasm/.pdb in parallel with dotnet.*.js. Fixes #18898 (#20029)

* Add BaseAddress property to WebAssemblyHostEnvironment (#20019)

- Adds `BaseAddress` to `IWebAssemblyHostEnvironment`
- Uses unmarshalled APIs to extract application host
- Move NavigationManager initialization to startup code
- Fix subdir mapping in ClientSideHostingTest

Addresses #19910

Co-authored-by: Steve Sanderson <[email protected]>
Co-authored-by: Safia Abdalla <[email protected]>
Co-authored-by: Safia Abdalla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants