IServerSideBlazorBuilder 인터페이스

정의

Server-Side Blazor를 구성하는 데 사용할 수 있는 작성기입니다.

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

속성

Name Description
Services

IServiceCollection를 가져옵니다.

명시적 인터페이스 구현

Name Description
IRazorComponentsBuilder.Services

Server-Side Blazor를 구성하는 데 사용할 수 있는 작성기입니다.

확장명 메서드

Name Description
AddAuthenticationStateSerialization(IRazorComponentsBuilder, Action<AuthenticationStateSerializationOptions>)

Microsoft AddAuthenticationStateDeserialization을 호출하여 추가할 수 있는 역직렬화 클라이언트 쪽을 통해 대화형 WebAssembly 구성 요소에서 사용하기 위해 서버 쪽 AuthenticationStateProviderPersistentComponentStateAuthenticationStateProvider 에서 반환된 항목을 직렬화 AuthenticationState 합니다. 클라이언트 프로젝트의 AspNetCore.Components.WebAssembly.Authentication 패키지입니다.

AddCircuitOptions(IServerSideBlazorBuilder, Action<CircuitOptions>)

회로를 구성하는 옵션을 추가합니다.

AddHubOptions(IServerSideBlazorBuilder, Action<HubOptions>)

Server-Side Blazor에서 사용하는 SignalR Hub 구성에 대한 허브 옵션을 추가합니다.

AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)

Razor 구성 요소 애플리케이션에서 대화형 서버 구성 요소 렌더링을 지원하는 서비스를 추가합니다.

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder, Action<WebAssemblyComponentsOptions>)

대화형 WebAssembly 구성 요소 렌더링을 지원하는 서비스를 추가합니다.

AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)

대화형 WebAssembly 구성 요소 렌더링을 지원하는 서비스를 추가합니다.

RegisterPersistentService<TPersistentService>(IRazorComponentsBuilder, IComponentRenderMode)

Razor 구성 요소 작성기에서 지정된 렌더링 모드로 영구 서비스를 등록합니다.

적용 대상