ServerRazorComponentsBuilderExtensions.AddInteractiveServerComponents 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.
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
- builder
- IRazorComponentsBuilder
- configure
- Action<CircuitOptions>
A callback to configure CircuitOptions.
Returns
An IRazorComponentsBuilder that can be used to further customize the configuration.