IRazorComponentsBuilder Interface
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
Services |
Gets the IServiceCollection. |
Add |
Adds services to support rendering interactive server components in a razor components application. |
Add |
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. |
Add |
Adds services to support rendering interactive WebAssembly components. |
Product | Versions |
---|---|
ASP.NET Core | 8.0, 9.0 |