1 instantiation of ServerComponentSerializer
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (1)
56services.TryAddSingleton<ServerComponentSerializer>(services => new ServerComponentSerializer(services.GetRequiredService<IDataProtectionProvider>()));
7 references to ServerComponentSerializer
Microsoft.AspNetCore.Components.Endpoints (3)
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (1)
56services.TryAddSingleton<ServerComponentSerializer>(services => new ServerComponentSerializer(services.GetRequiredService<IDataProtectionProvider>()));
Rendering\SSRRenderModeBoundary.cs (2)
195var serverComponentSerializer = httpContext.RequestServices.GetRequiredService<ServerComponentSerializer>();
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
EndpointHtmlRendererTest.cs (2)
762collection.TryAddSingleton<ServerComponentSerializer>(); 1853services.AddSingleton<ServerComponentSerializer>();
RazorComponentResultTest.cs (1)
462.AddSingleton<ServerComponentSerializer>()
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
ComponentTagHelperTest.cs (1)
84.AddScoped<ServerComponentSerializer>()