5 references to ServerComponentSerializationSettings
Microsoft.AspNetCore.Components.Endpoints (5)
DependencyInjection\ServerComponentSerializer.cs (3)
16.CreateProtector(ServerComponentSerializationSettings.DataProtectionProviderPurpose) 44var serializedServerComponentBytes = JsonSerializer.SerializeToUtf8Bytes(serverComponent, ServerComponentSerializationSettings.JsonSerializationOptions); 45var protectedBytes = _dataProtector.Protect(serializedServerComponentBytes, ServerComponentSerializationSettings.DataExpiration);
Rendering\EndpointHtmlRenderer.Streaming.cs (2)
274var serializedStartRecord = JsonSerializer.Serialize(marker, ServerComponentSerializationSettings.JsonSerializationOptions); 298var serializedEndRecord = JsonSerializer.Serialize(endMarker, ServerComponentSerializationSettings.JsonSerializationOptions);