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