ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Méthode

Définition

Surcharges

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Configure l’application pour prendre en charge le mode de rendu InteractiveServer.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Mappe le blazor Hub au chemin d’accès par défaut.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Source:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Configure l’application pour prendre en charge le mode de rendu 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

Paramètres

Retours

Le RazorComponentsEndpointConventionBuilder.

S’applique à

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Mappe le blazor Hub au chemin d’accès par défaut.

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

Paramètres

configure
Action<ServerComponentsEndpointOptions>

Rappel pour configurer les options de point de terminaison du serveur.

Retours

Le ComponentEndpointConventionBuilder.

S’applique à