Share via


ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Method

Definition

Overloads

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Configures the application to support the InteractiveServer render mode.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Maps the Blazor Hub to the default path.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Source:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Configures the application to support the InteractiveServer render mode.

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

Parameters

Returns

The RazorComponentsEndpointConventionBuilder.

Applies to

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Maps the Blazor Hub to the default path.

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

Parameters

configure
Action<ServerComponentsEndpointOptions>

A callback to configure server endpoint options.

Returns

The ComponentEndpointConventionBuilder.

Applies to