ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Método

Definición

Sobrecargas

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Source:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

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

C#
public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder);

Parámetros

Devoluciones

El RazorComponentsEndpointConventionBuilder.

Se aplica a

ASP.NET Core 9.0 y ASP.NET Core 8.0
Producto Versiones
ASP.NET Core 8.0, 9.0

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Asigna el Hub blazor a la ruta de acceso predeterminada.

C#
public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, Action<Microsoft.AspNetCore.Components.Server.ServerComponentsEndpointOptions> configure);

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

ASP.NET Core 9.0
Producto Versiones
ASP.NET Core 9.0