Share via


ServerRazorComponentsBuilderExtensions.AddInteractiveServerComponents Method

Definition

Adds services to support rendering interactive server components in a razor components application.

public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddInteractiveServerComponents (this Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder builder, Action<Microsoft.AspNetCore.Components.Server.CircuitOptions>? configure = default);
static member AddInteractiveServerComponents : Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder * Action<Microsoft.AspNetCore.Components.Server.CircuitOptions> -> Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder
<Extension()>
Public Function AddInteractiveServerComponents (builder As IRazorComponentsBuilder, Optional configure As Action(Of CircuitOptions) = Nothing) As IServerSideBlazorBuilder

Parameters

configure
Action<CircuitOptions>

A callback to configure CircuitOptions.

Returns

An IRazorComponentsBuilder that can be used to further customize the configuration.

Applies to