ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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)
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.