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