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

Blazor WASM hot reload and debugging #28953

Merged
merged 10 commits into from
Apr 26, 2023
Merged

Blazor WASM hot reload and debugging #28953

merged 10 commits into from
Apr 26, 2023

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Apr 12, 2023

Fixes #28940

Artak ... This covers the following from the Preview 1 blog post remarks ...

  • Hot reload support for instance fields, properties, and events for .NET on WebAssembly
  • Support for symbol servers when debugging .NET on WebAssembly
  • Blazor WebAssembly debugging in Firefox

... but note that I couldn't find PU PRs for these. I don't have explicit instructions for how to use a symbol server to debug WASM apps outside of our normal VS guidance, so I currently have the PR point to the general guidance at ...

https://learn.microsoft.com/en-us/aspnet/core/test/debug-aspnetcore-source?view=aspnetcore-7.0

Also, don't sweat the version flipping at the top of the debugging article. I'll circle around and clean up the versioning later. I just haven't reached this one yet for a pass on that ... it's coming soon 🏃.

Last item ...... Firefox debugging ..... This will need a clean-up pass, possibly including for if VS can debug with FF using the same approach laid out for Chrome/Edge. I have a tracking item for it to circle back around to this guidance for futher updates later.

Tom, this touches your Hot Reload topic in the main doc set.


Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/debug.md [Visual Studio for Mac](https://review.learn.microsoft.com/en-us/aspnet/core/blazor/debug?branch=pr-en-us-28953)
aspnetcore/test/hot-reload.md .NET Hot Reload support for ASP.NET Core

@guardrex guardrex changed the title Guardrex patch 2 [.NET 8] Blazor WASM hot reload and debugging Apr 12, 2023
@guardrex guardrex self-assigned this Apr 14, 2023
@guardrex guardrex changed the title [.NET 8] Blazor WASM hot reload and debugging Blazor WASM hot reload and debugging Apr 14, 2023
@danroth27
Copy link
Member

@lambdageek Can you confirm that the list of supported hot reload edits on WebAssembly is accurate? Or are we at the point that hot reload on WebAssembly is at parity with CoreCLR and we no longer need to maintain a separate list of supported edits for .NET 8?

@lambdageek
Copy link
Member

@lambdageek Can you confirm that the list of supported hot reload edits on WebAssembly is accurate? Or are we at the point that hot reload on WebAssembly is at parity with CoreCLR and we no longer need to maintain a separate list of supported edits for .NET 8?

We're almost at parity. The remaining things are:

@guardrex
Copy link
Collaborator Author

guardrex commented Apr 26, 2023

I'll make a tracking note on ...

Renaming method parameter (@fanyang-mono is working on it - dotnet/runtime#56626)

... to check back and update again after that's resolved.

I'll also check back on FF guidance. As it stands, that's a very separate process here during preview. I think the team's goal is to have it be the same process as for Edge/Chrome and not a completely parallel process to use (but I'm not sure). I'll check back on it later.

@guardrex guardrex merged commit 347408e into main Apr 26, 2023
@guardrex guardrex deleted the guardrex-patch-2 branch April 26, 2023 17:51
Donciavas pushed a commit to Donciavas/AspNetCore.Docs that referenced this pull request Feb 7, 2024
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.

Blazor WASM hot reload and debugging enhancements
5 participants