Share via


WebAssemblyHost Class

Definition

A host object for Blazor running under WebAssembly. Use WebAssemblyHostBuilder to initialize a WebAssemblyHost.

public ref class WebAssemblyHost sealed : IAsyncDisposable
public sealed class WebAssemblyHost : IAsyncDisposable
type WebAssemblyHost = class
    interface IAsyncDisposable
Public NotInheritable Class WebAssemblyHost
Implements IAsyncDisposable
Inheritance
WebAssemblyHost
Implements

Properties

Configuration

Gets the application configuration.

Services

Gets the service provider associated with the application.

Methods

DisposeAsync()

Disposes the host asynchronously.

RunAsync()

Runs the application associated with this host.

Applies to