WebAssemblyComponentsEndpointOptions Class

Definition

Options to configure interactive WebAssembly components.

public sealed class WebAssemblyComponentsEndpointOptions
type WebAssemblyComponentsEndpointOptions = class
Public NotInheritable Class WebAssemblyComponentsEndpointOptions
Inheritance
WebAssemblyComponentsEndpointOptions

Constructors

WebAssemblyComponentsEndpointOptions()

Properties

PathPrefix

Gets or sets the PathString that indicates the prefix for Blazor WebAssembly assets. This path must correspond to a referenced Blazor WebAssembly application project.

ServeMultithreadingHeaders

Gets or sets a flag to determine whether to enable WebAssembly multithreading. If true, the server will add headers similar to Cross-Origin-Embedder-Policy: require-corp and Cross-Origin-Opener-Policy: same-origin on the response for the host page, because this is required to enable the SharedArrayBuffer feature in the browser.

Note that enabling this feature can restrict your ability to use other JavaScript APIs. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements.

StaticAssetsManifestPath

Gets or sets the String that determines the static assets manifest path mapped to this app.

Applies to