11 references to ReadFromJsonAsync
Aspire.Dashboard (3)
Model\Assistant\ChatClientFactory.cs (1)
143
var response = await httpResponse.Content.
ReadFromJsonAsync
<GhcpInfoResponse>(cancellationToken).ConfigureAwait(false);
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)
151
var actualResult = await response.Content.
ReadFromJsonAsync
<bool>();
Aspire.Hosting.Foundry (1)
HostedAgent\HostedAgentBuilderExtension.cs (1)
185
.
ReadFromJsonAsync
<JsonObject>(cancellationToken: ctx.CancellationToken)
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
162
var databases = await response.Content.
ReadFromJsonAsync
<List<RedisInsightDatabaseModel>>(cts.Token);
Microsoft.NET.Build.Containers (5)
Registry\Registry.cs (5)
205
await initialManifestResponse.Content.
ReadFromJsonAsync
<ManifestListV2>(cancellationToken: cancellationToken).ConfigureAwait(false),
213
await initialManifestResponse.Content.
ReadFromJsonAsync
<ImageIndexV1>(cancellationToken: cancellationToken).ConfigureAwait(false),
228
var manifest = (await initialManifestResponse.Content.
ReadFromJsonAsync
<ManifestV2>(cancellationToken: cancellationToken).ConfigureAwait(false))!;
245
SchemaTypes.DockerManifestListV2 => await initialManifestResponse.Content.
ReadFromJsonAsync
<ManifestListV2>(cancellationToken: cancellationToken).ConfigureAwait(false),
392
var manifest = await manifestResponse.Content.
ReadFromJsonAsync
<ManifestV2>(cancellationToken: cancellationToken).ConfigureAwait(false);