80 references to ReadFromJsonAsync
Aspire.Dashboard.Tests (1)
Integration\FrontendBrowserTokenAuthTests.cs (1)
152
var actualResult = await response.Content.
ReadFromJsonAsync
<bool>();
Aspire.Hosting.Redis.Tests (1)
RedisFunctionalTests.cs (1)
263
var databases = await response.Content.
ReadFromJsonAsync
<List<RedisInsightDatabaseModel>>(cts.Token);
Diagnostics.FunctionalTests (5)
DeveloperExceptionPageSampleTest.cs (1)
48
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
ProblemDetailsExceptionHandlerSampleTest.cs (2)
33
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
50
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
StatusCodeSampleTest.cs (2)
88
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
105
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\HttpSysRequestInfoTests.cs (1)
39
var timings = await response.Content.
ReadFromJsonAsync
<long[]>();
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\HttpSysRequestInfoTests.cs (1)
39
var timings = await response.Content.
ReadFromJsonAsync
<long[]>();
Microsoft.AspNetCore.Diagnostics.Tests (4)
DeveloperExceptionPageMiddlewareTest.cs (3)
69
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
122
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
181
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
ExceptionHandlerMiddlewareTest.cs (1)
75
var body = await response.Content.
ReadFromJsonAsync
<ProblemDetails>();
Microsoft.AspNetCore.Identity.FunctionalTests (40)
MapIdentityApiTests.cs (40)
115
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
147
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
182
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
261
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
296
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
300
var refreshContent = await refreshResponse.Content.
ReadFromJsonAsync
<JsonElement>();
342
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
366
var refreshContent = await refreshResponse.Content.
ReadFromJsonAsync
<JsonElement>();
370
refreshContent = await refreshResponse.Content.
ReadFromJsonAsync
<JsonElement>();
415
var refreshContent = await refreshResponse.Content.
ReadFromJsonAsync
<JsonElement>();
672
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
691
var twoFactorKeyContent = await twoFactorKeyResponse.Content.
ReadFromJsonAsync
<JsonElement>();
703
var enable2faContent = await enable2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
730
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
735
var twoFactorKeyContent = await twoFactorKeyResponse.Content.
ReadFromJsonAsync
<JsonElement>();
744
var enable2faContent = await enable2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
757
var recoveryLoginContent = await recoveryLoginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
764
var disable2faContent = await disable2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
782
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
787
var twoFactorKeyContent = await twoFactorKeyResponse.Content.
ReadFromJsonAsync
<JsonElement>();
799
var enable2faContent = await enable2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
803
var resetKeyContent = await resetKeyResponse.Content.
ReadFromJsonAsync
<JsonElement>();
816
var reenable2faContent = await reenable2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
829
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
834
var twoFactorKeyContent = await twoFactorKeyResponse.Content.
ReadFromJsonAsync
<JsonElement>();
843
var enable2faContent = await enable2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
859
var recoveryLoginContent = await recoveryLoginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
866
var updated2faContent = await updated2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
874
var resetRecoveryContent = await resetRecoveryResponse.Content.
ReadFromJsonAsync
<JsonElement>();
900
var twoFactorKeyContent = await twoFactorKeyResponse.Content.
ReadFromJsonAsync
<JsonElement>();
912
var enable2faContent = await enable2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
924
var session2faContent = await session2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
933
var session2faContent2 = await session2faResponse2.Content.
ReadFromJsonAsync
<JsonElement>();
942
var persistent2faContent = await persistent2faResponse.Content.
ReadFromJsonAsync
<JsonElement>();
1056
var infoPostContent = await infoPostResponse.Content.
ReadFromJsonAsync
<JsonElement>();
1150
var infoPostContent = await infoPostResponse.Content.
ReadFromJsonAsync
<JsonElement>();
1249
var infoPostContent = await infoPostResponse.Content.
ReadFromJsonAsync
<JsonElement>();
1395
var loginContent = await loginResponse.Content.
ReadFromJsonAsync
<JsonElement>();
1450
var problem = await response.Content.
ReadFromJsonAsync
<HttpValidationProblemDetails>();
1460
var problem = await response.Content.
ReadFromJsonAsync
<HttpValidationProblemDetails>();
Microsoft.AspNetCore.Mvc.FunctionalTests (26)
BasicTests.cs (1)
629
var problem = await response.Content.
ReadFromJsonAsync
<ValidationProblemDetails>();
ControllerEndpointFiltersTest.cs (3)
42
var content = await response.Content.
ReadFromJsonAsync
<Dictionary<string, object>>();
55
var content = await response.Content.
ReadFromJsonAsync
<Dictionary<string, object>>();
80
var content = await response.Content.
ReadFromJsonAsync
<Dictionary<string, object>>();
HttpActionResultTests.cs (1)
42
var result = await response.Content.
ReadFromJsonAsync
<Contact>();
InputFormatterTests.cs (2)
190
var problemDetails = await response.Content.
ReadFromJsonAsync
<ValidationProblemDetails>();
208
var problemDetails = await response.Content.
ReadFromJsonAsync
<ValidationProblemDetails>();
JsonInputFormatterTestBase.cs (2)
161
var problem = await response.Content.
ReadFromJsonAsync
<ValidationProblemDetails>();
192
var actual = await response.Content.
ReadFromJsonAsync
<JsonFormatterController.SimpleModel>();
ReadFromDisconnectedClientTest.cs (1)
66
var problem = await response.Content.
ReadFromJsonAsync
<ValidationProblemDetails>();
RoutingAcrossPipelineBranchesTest.cs (9)
48
var subdirContent = await subdirResponse.Content.
ReadFromJsonAsync
<RouteInfo>();
51
var commonContent = await commonResponse.Content.
ReadFromJsonAsync
<RouteInfo>();
54
var defaultContent = await defaultResponse.Content.
ReadFromJsonAsync
<RouteInfo>();
83
var subdirContent = await subdirResponse.Content.
ReadFromJsonAsync
<RouteInfo>();
86
var commonContent = await commonResponse.Content.
ReadFromJsonAsync
<RouteInfo>();
89
var defaultContent = await defaultResponse.Content.
ReadFromJsonAsync
<RouteInfo>();
116
var subdirContent = await subdirResponse.Content.
ReadFromJsonAsync
<RouteInfo>();
119
var defaultContent = await defaultResponse.Content.
ReadFromJsonAsync
<RouteInfo>();
167
var content = await response.Content.
ReadFromJsonAsync
<RouteInfo>();
RoutingDynamicOrderTest.cs (5)
48
var content = await response.Content.
ReadFromJsonAsync
<RouteInfo>();
70
var content = await response.Content.
ReadFromJsonAsync
<RouteInfo>();
93
var content = await response.Content.
ReadFromJsonAsync
<RouteInfo>();
115
var content = await response.Content.
ReadFromJsonAsync
<RouteInfo>();
159
var content = await response.Content.
ReadFromJsonAsync
<RouteInfo>();
RoutingGroupsTest.cs (1)
43
var content = await response.Content.
ReadFromJsonAsync
<RouteInfo>();
RoutingGroupsWithMetadataTest.cs (1)
44
var content = await response.Content.
ReadFromJsonAsync
<string[]>();
Microsoft.AspNetCore.Routing.FunctionalTests (1)
RouteHandlerTest.cs (1)
55
var echoedTodo = await response.Content.
ReadFromJsonAsync
<Todo>();