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.
dotnet workload install wasm-tools
dotnet workload install wasm-experimental
dotnet new wasmbrowser
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
postMessagejson messages to it.For now it's
wasmbrowsertemplate and people have to figure out theWebWorkerpart themself.webworkertemplate project aspnetcore#65037