Skip to content

Conversation

tmat
Copy link
Member

@tmat tmat commented Oct 30, 2024

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, dotnet-watch untriaged Request triage from a team member labels Oct 30, 2024
Copy link
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
Copy link
Member Author

tmat commented Oct 31, 2024

@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
Member

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?

Copy link
Member Author

@tmat tmat Nov 5, 2024

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.

@tmat tmat merged commit 44871d4 into dotnet:release/9.0.2xx Nov 6, 2024
32 checks passed
@tmat tmat deleted the WasmApplierRefactoring branch November 6, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants