10 references to ReadFromJsonAsync
Aspire.Dashboard (2)
Telemetry\DashboardTelemetrySender.cs (1)
143
var isTelemetryEnabled = response.IsSuccessStatusCode && await response.Content.
ReadFromJsonAsync
<TelemetryEnabledResponse>().ConfigureAwait(false) is { IsEnabled: true };
Telemetry\DashboardTelemetryService.cs (1)
359
var response = await httpResponseMessage.Content.
ReadFromJsonAsync
<TResponse>().ConfigureAwait(false);
Aspire.Dashboard.Tests (1)
Integration\FrontendBrowserTokenAuthTests.cs (1)
353
var actualResult = await response.Content.
ReadFromJsonAsync
<bool>();
Aspire.Hosting.Foundry (1)
HostedAgent\HostedAgentBuilderExtension.cs (1)
369
var responseJson = await response.Content.
ReadFromJsonAsync
<JsonElement>(cancellationToken: ctx.CancellationToken).ConfigureAwait(true);
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
199
var databases = await response.Content.
ReadFromJsonAsync
<List<RedisInsightDatabaseModel>>(cts.Token);
Microsoft.NET.Build.Containers (5)
Registry\Registry.cs (5)
206
await initialManifestResponse.Content.
ReadFromJsonAsync
<ManifestListV2>(cancellationToken: cancellationToken).ConfigureAwait(false),
214
await initialManifestResponse.Content.
ReadFromJsonAsync
<ImageIndexV1>(cancellationToken: cancellationToken).ConfigureAwait(false),
229
var manifest = (await initialManifestResponse.Content.
ReadFromJsonAsync
<ManifestV2>(cancellationToken: cancellationToken).ConfigureAwait(false))!;
246
SchemaTypes.DockerManifestListV2 => await initialManifestResponse.Content.
ReadFromJsonAsync
<ManifestListV2>(cancellationToken: cancellationToken).ConfigureAwait(false),
393
var manifest = await manifestResponse.Content.
ReadFromJsonAsync
<ManifestV2>(cancellationToken: cancellationToken).ConfigureAwait(false);