Skip to content

Does Blazor WebAssembly support multi threading? #14253

Closed
@Madhust

Description

@Madhust

While reading the below post, this doubt came to my mind.

https://visualstudiomagazine.com/articles/2019/09/18/blazor-webassembly.aspx

Blazor WebAssembly is described by Microsoft thusly:
The principal hosting model for Blazor is running client-side in the browser on WebAssembly. The Blazor app, its dependencies, and the .NET runtime are downloaded to the browser. The app is executed directly on the browser UI thread. UI updates and event handling occur within the same process. The app's assets are deployed as static files to a web server or service capable of serving static content to clients.

The above bold line says that Blazor App will reside in the browser UI thread and all updates are handled within the same process. So I have the below questions regarding this.

  • Does Blazor WebAssembly run in single thread like JavaScript?
  • How to handle long running process or large data operations in Blazor WebAssembly?

I might have misunderstood the above statement, I appreciate if someone correct me if i am wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsThis issue tracks updating documentationarea-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions