Condividi tramite


ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Metodo

Definizione

Overload

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Configura l'applicazione per supportare la modalità di rendering InteractiveServer.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Esegue il mapping del Hub Blazor al percorso predefinito.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Origine:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Configura l'applicazione per supportare la modalità di rendering InteractiveServer.

public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder);
static member AddInteractiveServerRenderMode : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function AddInteractiveServerRenderMode (builder As RazorComponentsEndpointConventionBuilder) As RazorComponentsEndpointConventionBuilder

Parametri

Restituisce

Oggetto RazorComponentsEndpointConventionBuilder.

Si applica a

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Esegue il mapping del Hub Blazor al percorso predefinito.

public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, Action<Microsoft.AspNetCore.Components.Server.ServerComponentsEndpointOptions> configure);
static member AddInteractiveServerRenderMode : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder * Action<Microsoft.AspNetCore.Components.Server.ServerComponentsEndpointOptions> -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function AddInteractiveServerRenderMode (builder As RazorComponentsEndpointConventionBuilder, configure As Action(Of ServerComponentsEndpointOptions)) As RazorComponentsEndpointConventionBuilder

Parametri

configure
Action<ServerComponentsEndpointOptions>

Callback per configurare le opzioni dell'endpoint server.

Restituisce

Oggetto ComponentEndpointConventionBuilder.

Si applica a