ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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.