Post

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

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

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

0 reposts1 like