Skip to content

Browser refresh and WASM delta applier refactoring - #44539

Merged
tmat merged 7 commits into
dotnet:release/9.0.2xxfrom
tmat:WasmApplierRefactoring
Nov 6, 2024
Merged

tmat merged 7 commits into
dotnet:release/9.0.2xxfrom
tmat:WasmApplierRefactoring

Conversation

@tmat

@tmat tmat commented Oct 30, 2024

Copy link
Copy Markdown
Member

Improves browser connection management and delta application to WASM.
Includes PDB delta in the update payload.
Sends logs from the client back to dotnet-watch.
Prepares agent code for sharing with ASP.NET.
Fixes issues with delta application when multiple browsers are connected to the same dev server.

@tmat
tmat requested review from a team as code owners October 30, 2024 22:02
@ghost ghost added Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, StaticWebAssetsSDK untriaged Request triage from a team member labels Oct 30, 2024
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Thanks for your PR, @tmat.
To learn about the PR process and branching schedule of this repo, please take a look at the SDK PR Guide.

@tmat
tmat force-pushed the WasmApplierRefactoring branch 2 times, most recently from f0fabb8 to 06c7824 Compare October 31, 2024 01:38
@tmat

tmat commented Oct 31, 2024

Copy link
Copy Markdown
Member Author

@tlmii @phil-allen-msft ptal

@tmat
tmat force-pushed the WasmApplierRefactoring branch from 71d3256 to 3b6e0a8 Compare November 4, 2024 20:37
@@ -8,10 +8,12 @@ export function receiveHotReload() {
export async function receiveHotReloadAsync() {
const response = await fetch('/_framework/blazor-hotreload');

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you think of any way in which the implementor of _framework/blazor-hotreload is from a different SDK version but this injected JS code?

@tmat tmat Nov 5, 2024

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't think that will be a problem. We can remove this once we migrate ASP.NET to the newer API and insert it into the SDK. This is temporary so that we can make the changes incrementally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, StaticWebAssetsSDK untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants