17 references to SerializeAsync
Aspire.Cli.Tests (12)
Projects\ProjectLocatorTests.cs (12)
758await JsonSerializer.SerializeAsync(writer, new 787await JsonSerializer.SerializeAsync(writer, new 818await JsonSerializer.SerializeAsync(writer, new 846await JsonSerializer.SerializeAsync(writer, new 889await JsonSerializer.SerializeAsync(writer, new 1329await JsonSerializer.SerializeAsync(writer, new 3709await JsonSerializer.SerializeAsync(writer, new 3743await JsonSerializer.SerializeAsync(writer, new 3776await JsonSerializer.SerializeAsync(writer, new 3809await JsonSerializer.SerializeAsync(writer, new 3853await JsonSerializer.SerializeAsync(writer, new 4146await JsonSerializer.SerializeAsync(writer, new
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\JsonRequestHelpers.cs (1)
172await JsonSerializer.SerializeAsync(stream, responseBody, options, cancellationToken);
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonOutputFormatter.cs (1)
118await JsonSerializer.SerializeAsync(transcodingStream, context.Object, SerializerOptions);
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
src\sdk\src\Dotnet.Watch\Web.Middleware\BlazorWasmHotReloadMiddleware.cs (1)
82await JsonSerializer.SerializeAsync(context.Response.Body, Updates, s_jsonSerializerOptions);
Microsoft.DotNet.HotReload.Utils.Generator (1)
Runners\ScriptRunner.cs (1)
44await System.Text.Json.JsonSerializer.SerializeAsync(s, summary, cancellationToken: ct);
System.Text.Json (1)
System\Text\Json\Serialization\JsonSerializer.Write.String.cs (1)
26/// and <see cref="SerializeAsync{TValue}(IO.Stream, TValue, JsonSerializerOptions?, Threading.CancellationToken)"/>.