-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-System.Runtime.InteropServices.JavaScriptos-browserBrowser variant of arch-wasmBrowser variant of arch-wasm
Milestone
Description
For use-cases which don't need C# to interact with the UI, but they just need to calculate some logic in dotnet.
It already worked in Net7 with some fiddling, there is known use in the community since.
It works well in Net8.
We should create demo how to start the single-threaded dotnet on separate WebWorker and how to postMessage json messages to it.
For now it's wasmbrowser template and people have to figure out the WebWorker part themself.
dotnet workload install wasm-tools
dotnet workload install wasm-experimental
dotnet new wasmbrowser
- Create another project template for Blazor.
- Create demo repository for ReactJS app: https://github.com/ilonatommy/reactWithDotnetOnWebWorker
- Create demo repository for Blazor WASM app: https://github.com/ilonatommy/blazorWithDotnetOnWebWorker
- Write documentation for it or blog article: Add a Blazor WebWorker article to client-side development coverage AspNetCore.Docs#36370, Add a WASM WebWorker article to client-side development coverage AspNetCore.Docs#36168
GerardSmit and toxikhiyelbaz and romfir
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-System.Runtime.InteropServices.JavaScriptos-browserBrowser variant of arch-wasmBrowser variant of arch-wasm