|
16 | 16 | - Run Blazor WASM in a ServiceWorker |
17 | 17 |
|
18 | 18 | [Live Demo](https://blazorjs.spawndev.com/) |
| 19 | +[Live Demo Repo](https://github.com/LostBeard/SpawnDev.BlazorJS.Test) |
19 | 20 |
|
20 | 21 | ### Supported .Net Versions |
21 | | -- Blazor WebAssembly .Net 6, 7, 8\*, 9\*\* and 10 |
22 | | -- - Tested VS Template: Blazor WebAssembly Standalone App |
23 | | -- Blazor United .Net 8 (in WebAssembly project only) |
24 | | -- - Tested VS Template: Blazor Web App (Interactive WebAssembly mode without prerendering) |
25 | | - |
26 | | -\* .Net 8 is the currently recommended .Net version due to broader compatibility and a more mature runtime and SDK. |
27 | | - |
28 | | -\*\* .Net 9.0.0 has an obscure bug that can appear during a `publish` build under very specific circumstances. The issue arises when using a Razor Class Library Nuget package (like WebWorkers) from another RCL and also using compression during `publish` in the Blazor app (default.) The issue was first reported on this repo as [issue #4](https://github.com/LostBeard/SpawnDev.BlazorJS.WebWorkers/issues/4) and then reported on the [dotnet/runtime](https://github.com/dotnet/runtime/) repo as [issue #110321](https://github.com/dotnet/runtime/issues/110321). A workaround is to use `<CompressionEnabled>false</CompressionEnabled>` in your Razor Class Library, which bypasses the `publish` build error and still allows the Blazor app the ability to use compression normally if desired. |
| 22 | +- .Net 6, 7, 8, 9 and 10 |
| 23 | +- Blazor WebAssembly Standalone App |
| 24 | +- Blazor Web App - Interactive WebAssembly mode without prerendering |
| 25 | + |
| 26 | +\*\* .Net 9.0.0 has/had a bug that can appear during a `publish` build under very specific circumstances. |
| 27 | +The issue arises when using a Razor Class Library Nuget package (like WebWorkers) from another RCL and also using |
| 28 | +compression during `publish` in the Blazor app (default.) The issue was first reported on this repo as |
| 29 | +[issue #4](https://github.com/LostBeard/SpawnDev.BlazorJS.WebWorkers/issues/4) and then reported on the |
| 30 | +[dotnet/runtime](https://github.com/dotnet/runtime/) repo as [issue #110321](https://github.com/dotnet/runtime/issues/110321). |
| 31 | +A workaround is to use `<CompressionEnabled>false</CompressionEnabled>` in your Razor Class Library, which bypasses the |
| 32 | +`publish` build error and still allows the Blazor app the ability to use compression normally if desired. |
29 | 33 |
|
30 | 34 | Tested working in the following browsers (tested with .Net 8.) Chrome Android does not currently support SharedWorkers. |
31 | 35 |
|
|
0 commit comments