اقرأ باللغة الإنجليزية

مشاركة عبر


WebAssemblyHost Class

Definition

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

C#
public sealed class WebAssemblyHost : 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

منتج الإصدارات
ASP.NET Core 3.1, 5.0, 6.0, 7.0, 8.0, 9.0