Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
WebAssemblyRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveWebAssemblyRenderMode Method
Definition
- Namespace:
- Microsoft.AspNetCore.Builder
- Assembly:
- Microsoft.AspNetCore.Components.WebAssembly.Server.dll
- Package:
- Microsoft.AspNetCore.Components.WebAssembly.Server v10.0.0
- Package:
- Microsoft.AspNetCore.Components.WebAssembly.Server v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.Components.WebAssembly.Server v8.0.19
- Package:
- Microsoft.AspNetCore.Components.WebAssembly.Server v9.0.8
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.
Configures the application to support the InteractiveWebAssembly render mode.
public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveWebAssemblyRenderMode(this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, Action<Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions>? callback = default);
static member AddInteractiveWebAssemblyRenderMode : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder * Action<Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions> -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function AddInteractiveWebAssemblyRenderMode (builder As RazorComponentsEndpointConventionBuilder, Optional callback As Action(Of WebAssemblyComponentsEndpointOptions) = Nothing) As RazorComponentsEndpointConventionBuilder
Parameters
- callback
- Action<WebAssemblyComponentsEndpointOptions>
Returns
The RazorComponentsEndpointConventionBuilder.
Applies to
Feedback
Was this page helpful?
