Compartir a través de


ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Método

Definición

Sobrecargas

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Configura la aplicación para admitir el modo de representación de InteractiveServer.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Asigna el Hub blazor a la ruta de acceso predeterminada.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Source:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Configura la aplicación para admitir el modo de representación de 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

Parámetros

Devoluciones

El RazorComponentsEndpointConventionBuilder.

Se aplica a

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Asigna el Hub blazor a la ruta de acceso predeterminada.

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

Parámetros

configure
Action<ServerComponentsEndpointOptions>

Devolución de llamada para configurar las opciones del punto de conexión del servidor.

Devoluciones

El ComponentEndpointConventionBuilder.

Se aplica a