ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder) |
Configura l'applicazione per supportare la modalità di rendering InteractiveServer. |
AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>) |
Esegue il mapping del Hub Blazor al percorso predefinito. |
AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)
Configura l'applicazione per supportare la modalità di rendering 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
Parametri
Restituisce
Oggetto RazorComponentsEndpointConventionBuilder.
Si applica a
AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)
Esegue il mapping del Hub Blazor al percorso predefinito.
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
Parametri
- configure
- Action<ServerComponentsEndpointOptions>
Callback per configurare le opzioni dell'endpoint server.
Restituisce
Oggetto ComponentEndpointConventionBuilder.