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