24 references to GetFromJsonAsync
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
221var getDatabasesResponse = await client.GetFromJsonAsync<RedisDatabaseDto[]>(databasesPath, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Redis.Tests (2)
RedisFunctionalTests.cs (2)
170var firstRunDatabases = await client1.GetFromJsonAsync<RedisInsightDatabaseModel[]>("/api/databases", cts.Token); 207var secondRunDatabases = await client2.GetFromJsonAsync<RedisInsightDatabaseModel[]>("/api/databases", cts.Token);
Aspire.Hosting.Testing.Tests (4)
TestingBuilderTests.cs (2)
161var result1 = await httpClient.GetFromJsonAsync<WeatherForecast[]>("/weatherforecast"); 214var result = await httpClient.GetFromJsonAsync<WeatherForecast[]>("/weatherforecast");
TestingFactoryTests.cs (2)
52var result1 = await httpClient.GetFromJsonAsync<WeatherForecast[]>("/weatherforecast"); 80var result = await httpClient.GetFromJsonAsync<WeatherForecast[]>("/weatherforecast");
BasicTestApp (1)
AuthTest\ServerAuthenticationStateProvider.cs (1)
25var data = await _httpClient.GetFromJsonAsync<ClientSideAuthenticationStateData>(uri.AbsoluteUri);
HostedBlazorWebassemblyApp.Client (1)
Data\HttpWeatherForecastService.cs (1)
25return (await Client.GetFromJsonAsync<WeatherForecast[]>("WeatherForecast"))!;
Microsoft.AspNetCore.Identity.FunctionalTests (15)
MapIdentityApiTests.cs (15)
1039var infoResponse = await client.GetFromJsonAsync<JsonElement>("/identity/manage/info"); 1043var infoClaims = await client.GetFromJsonAsync<JsonElement>("/auth/claims"); 1062var infoPostClaims = await client.GetFromJsonAsync<JsonElement>("/auth/claims"); 1083var infoAfterEmailChange = await client.GetFromJsonAsync<JsonElement>("/identity/manage/info"); 1088var claimsAfterEmailChange = await client.GetFromJsonAsync<JsonElement>("/auth/claims"); 1099var infoAfterFinalLogin = await client.GetFromJsonAsync<JsonElement>("/identity/manage/info"); 1103var claimsAfterFinalLogin = await client.GetFromJsonAsync<JsonElement>("/auth/claims"); 1135var infoResponse = await client.GetFromJsonAsync<JsonElement>("/identity/manage/info"); 1138var infoClaims = await client.GetFromJsonAsync<JsonElement>("/auth/claims"); 1155var infoPostClaims = await client.GetFromJsonAsync<JsonElement>("/auth/claims"); 1172var infoAfterEmailChange = await client.GetFromJsonAsync<JsonElement>("/identity/manage/info"); 1177var claimsAfterEmailChange = await client.GetFromJsonAsync<JsonElement>("/auth/claims"); 1185var infoAfterFinalLogin = await client.GetFromJsonAsync<JsonElement>("/identity/manage/info"); 1188var claimsAfterFinalLogin = await client.GetFromJsonAsync<JsonElement>("/auth/claims"); 1268var infoGetContent = await client.GetFromJsonAsync<JsonElement>("/identity/manage/info");