IRazorComponentsBuilder Interface
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.
A builder that can be used to configure Razor Components.
public interface IRazorComponentsBuilder
type IRazorComponentsBuilder = interface
Public Interface IRazorComponentsBuilder
- Derived
Properties
Services |
Gets the IServiceCollection. |
Extension Methods
AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>) |
Adds services to support rendering interactive server components in a razor components application. |
AddAuthenticationStateSerialization(IRazorComponentsBuilder, Action<AuthenticationStateSerializationOptions>) |
Serializes the AuthenticationState returned by the server-side AuthenticationStateProvider using PersistentComponentState for use by interactive WebAssembly components via a deserializing client-side AuthenticationStateProvider which can be added by calling AddAuthenticationStateDeserialization from the Microsoft.AspNetCore.Components.WebAssembly.Authentication package in the client project. |
AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder) |
Adds services to support rendering interactive WebAssembly components. |