1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
RazorPagesTest.cs (1)
30Client = Factory.CreateDefaultClient();
100 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (100)
RazorPagesTest.cs (100)
51var response = await Client.GetAsync("http://localhost/SimpleForms"); 66var content = await Client.GetStringAsync("http://localhost/HandlerTestPage?handler=Customer"); 76var content = await Client.GetStringAsync("http://localhost/HandlerTestPage/Customer?handler=ViewCustomer"); 86var content = await Client.GetStringAsync("http://localhost/HandlerTestPage/Customer"); 96var getResponse = await Client.GetAsync("http://localhost/HandlerTestPage"); 106var response = await Client.SendAsync(postRequest); 118var content = await Client.GetStringAsync("http://localhost/HandlerTestPage/ViewCustomer"); 128var getResponse = await Client.GetAsync("http://localhost/HandlerTestPage"); 137var response = await Client.SendAsync(postRequest); 149using var document = await Client.GetHtmlDocumentAsync("PageWithoutModelRenderPartial"); 159using var document = await Client.GetHtmlDocumentAsync("RenderPartial"); 169using var document = await Client.GetHtmlDocumentAsync("RenderPartial/UsePageModelAsPartialModel"); 179using var document = await Client.GetHtmlDocumentAsync("RenderPartial/NoPartialModel"); 189var content = await Client.GetStringAsync("http://localhost/HandlerTestPage/CustomActionResult"); 199var content = await Client.GetStringAsync("http://localhost/ModelHandlerTestPage/Customer"); 209var getResponse = await Client.GetAsync("http://localhost/ModelHandlerTestPage"); 219var response = await Client.SendAsync(postRequest); 231var content = await Client.GetStringAsync("http://localhost/ModelHandlerTestPage/ViewCustomer"); 241var getResponse = await Client.GetAsync("http://localhost/ModelHandlerTestPage"); 250var response = await Client.SendAsync(postRequest); 262var content = await Client.GetStringAsync("http://localhost/ModelHandlerTestPage/CustomActionResult"); 275var routeResponse = await Client.SendAsync(routeRequest); 288var routeResponse = await Client.SendAsync(routeRequest); 304var response = await Client.SendAsync(request); 320var response = await Client.SendAsync(request); 336var response = await Client.SendAsync(request); 349var response = await Client.SendAsync(request); 365var response = await Client.SendAsync(request); 381var response = await Client.SendAsync(request); 397var response = await Client.SendAsync(request); 411var getResponse = await Client.SendAsync(getRequest); 421var response = await Client.SendAsync(postRequest); 440var response = await Client.SendAsync(request); 456var content = await Client.GetStringAsync(url); 469var response = await Client.SendAsync(request); 485var response = await Client.SendAsync(request); 502var response = await Client.SendAsync(request); 512response = await Client.SendAsync(request); 527var response = await Client.SendAsync(request); 537response = await Client.SendAsync(request); 552var response = await Client.SendAsync(request); 560response = await Client.SendAsync(request); 574var getResponse = await Client.SendAsync(getRequest); 585var response = await Client.SendAsync(request); 598response = await Client.SendAsync(request); 614var response = await Client.GetAsync(url); 628var response = await Client.GetAsync(url); 646var response = await Client.GetStringAsync("/Pages/WithViewStart"); 660var response = await Client.GetStringAsync("/Pages/WithViewImport"); 682var response = await Client.SendAsync(request); 710var response = await Client.SendAsync(request); 737var response = await Client.SendAsync(request); 768var response = await Client.SendAsync(request); 797var response = await Client.SendAsync(request); 822var response = await Client.SendAsync(request); 853var response = await Client.SendAsync(request); 877var response = await Client.SendAsync(request); 893var response = await Client.SendAsync(request); 909var response = await Client.SendAsync(request); 926var response = await Client.SendAsync(request); 944var response = await Client.GetStringAsync("InjectedPageProperties"); 957var response = await Client.GetAsync("/Pages/Redirects/RedirectFromPage"); 971var response = await Client.GetAsync("/Pages/Redirects/RedirectFromModel"); 993var response = await Client.SendAsync(request); 1007var response = await Client.GetAsync("/Pages/Redirects/RedirectFromHandler/RedirectToPage/10"); 1021var response = await Client.GetAsync("/Pages/Redirects/RedirectFromHandler/RedirectToAnotherHandler/11"); 1035var response = await Client.GetAsync("/RedirectToPage"); 1049var response = await Client.GetAsync("/RedirectToController"); 1061var response = await Client.GetAsync("/Pages/Redirects/RedirectToSibling/RedirectToRedirect"); 1073var response = await Client.GetAsync("/Pages/Redirects/RedirectToSibling/RedirectToIndex"); 1085var response = await Client.GetAsync("/Pages/Redirects/RedirectToSibling/RedirectToSubDir"); 1099var response = await Client.GetAsync("/Pages/Redirects/RedirectToSibling/RedirectToDotSlash"); 1111var response = await Client.GetAsync("/Pages/Redirects/RedirectToSibling/RedirectToParent"); 1128var response = await Client.GetStringAsync("/Pages/TagHelper/SiblingLinks"); 1144var response = await Client.GetStringAsync("/Pages/TagHelper/SubDirectoryLinks"); 1161var response = await Client.GetStringAsync("/Pages/TagHelper/PathTraversalLinks"); 1174var response = await Client.GetStringAsync("/Pages/Section"); 1187var response = await Client.GetStringAsync("/Different-Route/test"); 1200var response = await Client.GetStringAsync(""); 1210var response = await Client.GetAsync("/Pages/ModelWithAuthFilter"); 1221var response = await Client.PostAsync("/Pages/Admin/Edit", new StringContent("")); 1235var response = await Client.GetStringAsync("/ModelWithPageFilter"); 1248var response = await Client.GetAsync("/ModelWithResponseCache"); 1265var response = await Client.GetStringAsync("/Pages/Localized/Page?culture=fr-FR"); 1277var response = await Client.GetStringAsync("/Pages/Localized/PageWithModel?culture=fr-FR"); 1298var response = await Client.SendAsync(request); 1313var response = await Client.GetAsync(url); 1339var response = await Client.SendAsync(request); 1361var response = await Client.GetStringAsync(path); 1374var response = await Client.GetStringAsync("/ModelAsFilter?message=Hello+world"); 1384var response = await Client.GetAsync("/ModelAsFilter/TestResultFilter"); 1394var content = await Client.GetStringAsync("like-totally-custom"); 1411var content = await Client.GetStringAsync("http://localhost/ModelHandlerTestPage/DefaultValues"); 1423var content = await Client.GetStringAsync("http://localhost/Pages/ShortCircuitPageAtAuthFilter?target=" + targetName); 1435var content = await Client.GetStringAsync("http://localhost/Pages/ShortCircuitPageAtPageFilter?target=" + targetName); 1445var content = await Client.GetStringAsync("http://localhost/Pages/ViewDataAvailableAfterHandlerExecuted"); 1458var response = await Client.SendAsync(request); 1474var response = await Client.SendAsync(request); 1490var response = await Client.SendAsync(request); 1501var getResponse = await Client.GetAsync(request.RequestUri);