11 references to ReadFromJsonAsync
Aspire.Dashboard (3)
Model\Assistant\ChatClientFactory.cs (1)
143var response = await httpResponse.Content.ReadFromJsonAsync<GhcpInfoResponse>(cancellationToken).ConfigureAwait(false);
Telemetry\DashboardTelemetrySender.cs (1)
143var isTelemetryEnabled = response.IsSuccessStatusCode && await response.Content.ReadFromJsonAsync<TelemetryEnabledResponse>().ConfigureAwait(false) is { IsEnabled: true };
Telemetry\DashboardTelemetryService.cs (1)
359var response = await httpResponseMessage.Content.ReadFromJsonAsync<TResponse>().ConfigureAwait(false);
Aspire.Dashboard.Tests (1)
Integration\FrontendBrowserTokenAuthTests.cs (1)
151var 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)
162var databases = await response.Content.ReadFromJsonAsync<List<RedisInsightDatabaseModel>>(cts.Token);
Microsoft.NET.Build.Containers (5)
Registry\Registry.cs (5)
206await initialManifestResponse.Content.ReadFromJsonAsync<ManifestListV2>(cancellationToken: cancellationToken).ConfigureAwait(false), 214await initialManifestResponse.Content.ReadFromJsonAsync<ImageIndexV1>(cancellationToken: cancellationToken).ConfigureAwait(false), 229var manifest = (await initialManifestResponse.Content.ReadFromJsonAsync<ManifestV2>(cancellationToken: cancellationToken).ConfigureAwait(false))!; 246SchemaTypes.DockerManifestListV2 => await initialManifestResponse.Content.ReadFromJsonAsync<ManifestListV2>(cancellationToken: cancellationToken).ConfigureAwait(false), 393var manifest = await manifestResponse.Content.ReadFromJsonAsync<ManifestV2>(cancellationToken: cancellationToken).ConfigureAwait(false);