Dela via


Microsoft.AspNetCore.Components.WebAssembly.Hosting Namespace

Provides types that help configure and start web Blazor WebAssembly apps.

Classes

RootComponentMappingCollection

Defines a collection of RootComponentMapping items.

WebAssemblyHost

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

WebAssemblyHostBuilder

A builder for configuring and creating a WebAssemblyHost.

WebAssemblyHostConfiguration

WebAssemblyHostConfiguration is a class that implements the interface of an IConfiguration, IConfigurationRoot, and IConfigurationBuilder. It can be used to simulatneously build and read from a configuration object.

WebAssemblyHostEnvironmentExtensions

Static class that adds extension methods to IWebAssemblyHostEnvironment.

Structs

RootComponentMapping

Defines a mapping between a root IComponent and a DOM element selector.

Interfaces

IWebAssemblyHostEnvironment

Provides information about the hosting environment an application is running in.

Remarks

For more information Blazor WebAssembly hosting, see Host and deploy ASP.NET Core Blazor WebAssembly.