BrowserOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options that flow from the server to the Blazor client in the browser via a DOM comment. Only serializable options are included; callbacks stay with JS initializers.
public sealed class BrowserOptions
type BrowserOptions = class
Public NotInheritable Class BrowserOptions
- Inheritance
-
BrowserOptions
Constructors
| Name | Description |
|---|---|
| BrowserOptions() | |
Properties
| Name | Description |
|---|---|
| InteractiveServer |
Gets the interactive server (circuit) specific options. |
| InteractiveWebAssembly |
Gets the interactive WebAssembly-specific options. |
| LogLevel |
Gets or sets the log level for the Blazor JS runtime. Applies to all render modes.
Maps to |
| StaticServer |
Gets the static server (SSR) specific options. |
Methods
| Name | Description |
|---|---|
| GetBrowserOptions(HttpContext) |
Gets the BrowserOptions for the current request. If not already set, seeds from endpoint metadata or creates a new instance. |