Language

WebAssemblyBrowserOptions Class

Definition

Serializable subset of WebAssemblyStartOptions. Non-serializable options (loadBootResource, configureRuntime, initializers) must use Blazor.start() or JS initializers.

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

Constructors

Name Description
WebAssemblyBrowserOptions()

Properties

Name Description
ApplicationCulture

Gets or sets the application culture in BCP 47 format (e.g., "en-US"). Maps to WebAssemblyStartOptions.applicationCulture.

EnvironmentName

Gets or sets the hosting environment name (e.g., "Development", "Production"). Maps to WebAssemblyStartOptions.environment.

EnvironmentVariables

Gets the environment variables for the .NET WebAssembly runtime. Use for OTEL endpoints, service URLs, etc.

Applies to