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

Application culture in BCP 47 format (e.g., "en-US"). Maps to WebAssemblyStartOptions.applicationCulture.

EnvironmentName

Hosting environment name (e.g., "Development", "Production"). Maps to WebAssemblyStartOptions.environment.

EnvironmentVariables

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

Applies to