IRazorComponentsBuilder
Services
AddAuthenticationStateSerialization(IRazorComponentsBuilder, Action<AuthenticationStateSerializationOptions>)
AddInteractiveServerComponents(IRazorComponentsBuilder, Action<CircuitOptions>)
AddInteractiveWebAssemblyComponents(IRazorComponentsBuilder)
RegisterPersistentService<TPersistentService>(IRazorComponentsBuilder, IComponentRenderMode)
net10.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class RazorComponentsRazorComponentBuilderExtensions
{
public static IRazorComponentsBuilder! RegisterPersistentService<TPersistentService>(this IRazorComponentsBuilder! builder, IComponentRenderMode! renderMode);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.Components.Endpoints , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API