Freigeben über


ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Methode

Definition

Überlädt

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Konfiguriert die Anwendung so, dass der InteractiveServer Rendermodus unterstützt wird.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Ordnet den Blazor-Hub dem Standardpfad zu.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Quelle:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Konfiguriert die Anwendung so, dass der InteractiveServer Rendermodus unterstützt wird.

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

Parameter

Gibt zurück

Die RazorComponentsEndpointConventionBuilder.

Gilt für:

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Ordnet den Blazor-Hub dem Standardpfad zu.

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

Parameter

configure
Action<ServerComponentsEndpointOptions>

Ein Rückruf zum Konfigurieren von Serverendpunktoptionen.

Gibt zurück

Die ComponentEndpointConventionBuilder.

Gilt für: