Skip to content

[browser][doc] how to start dotnet on WebWorker + demo #95452

@pavelsavara

Description

@pavelsavara

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

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions