Matt Parker's Avatar

Matt Parker

@mattparker.dev.bsky.social

Software Engineer @ Arinco

24 Followers  |  33 Following  |  8 Posts  |  Joined: 11.01.2025  |  1.412

Latest posts by mattparker.dev on Bluesky

Is it just me or does Blazor hot reload via dotnet watch feel way faster with the latest SDK? (9.0.300)

15.05.2025 09:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Javaโ€™s Top level statements
openjdk.org/jeps/495
At this point, Java should just fork C# ๐Ÿ˜…

13.05.2025 11:42 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
TaskCancelledException is swallowed in Blazor WebAssembly ยท Issue #41674 ยท dotnet/aspnetcore Is there an existing issue for this? I have searched the existing issues Describe the bug When cancelling a cancellation token (using ThrowIfCancellationRequested) neither TaskCancelledException no...

I wish I remembered this github.com/dotnet/aspne... while trying to reason with why long running tasks (interoping with the workers) weren't throwing an OperationCancelledException once I cancelled the CTS. Turns out they were!
4/4

20.04.2025 15:35 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Setting <WasmEnableThreads>true<WasmEnableThreads>
does set these headers, but Blazor currently throws on startup with the property set to true.
3/4

20.04.2025 15:35 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

then serve the files with `dotnet serve -o -S --port 5001 --fallback-file index.html -h "Cross-Origin-Opener-Policy: same-origin" -h "Cross-Origin-Embedder-Policy:credentialless"`. These headers are required if you want to use SharedArrayBuffers.
2/4

20.04.2025 15:35 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Context - working on a blazor app that requires cross origin isolated enabled (running multi-threaded emscripten compiled program in workers, separate to blazor), so no debugging for me - I have to publish the app with `dotnet publish -c Debug`,
1/4

20.04.2025 15:35 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Awesome!

15.01.2025 11:41 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

It appears Microsoft is investing in performance improvements for MSBuild and the .NET SDK - looking forward to .NET 10!

11.01.2025 14:43 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@mattparker.dev is following 20 prominent accounts