Share via


IServerSideBlazorBuilder Interface

Definition

A builder that can be used to configure Server-Side Blazor.

public interface IServerSideBlazorBuilder
public interface IServerSideBlazorBuilder : Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder
type IServerSideBlazorBuilder = interface
type IServerSideBlazorBuilder = interface
    interface IRazorComponentsBuilder
Public Interface IServerSideBlazorBuilder
Public Interface IServerSideBlazorBuilder
Implements IRazorComponentsBuilder
Implements

Properties

Services

Gets the IServiceCollection.

Explicit Interface Implementations

IRazorComponentsBuilder.Services

Extension Methods

AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)

Adds services to support rendering interactive server components in a razor components application.

AddCircuitOptions(IServerSideBlazorBuilder, Action<CircuitOptions>)

Adds options to configure circuits.

AddHubOptions(IServerSideBlazorBuilder, Action<HubOptions>)

Adds hub options for the configuration of the SignalR Hub used by Server-Side Blazor.

AddAuthenticationStateSerialization(IRazorComponentsBuilder, Action<AuthenticationStateSerializationOptions>)

Serializes the AuthenticationState returned by the server-side AuthenticationStateProvider using PersistentComponentState for use by interactive WebAssembly components via a deserializing client-side AuthenticationStateProvider which can be added by calling AddAuthenticationStateDeserialization from the Microsoft.AspNetCore.Components.WebAssembly.Authentication package in the client project.

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)

Adds services to support rendering interactive WebAssembly components.

Applies to