1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
RazorPagesWithBasePathTest.cs (1)
19
Client
= Factory.CreateDefaultClient();
53 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (53)
RazorPagesWithBasePathTest.cs (53)
35
var response = await
Client
.GetAsync("/HelloWorld");
45
var response = await
Client
.GetAsync("/");
58
var response = await
Client
.GetAsync("/Index");
71
var response = await
Client
.GetAsync("/Admin/Index");
84
var response = await
Client
.GetAsync("/Admin/RouteTemplate/1/MyRouteSuffix/");
97
var response = await
Client
.GetAsync("/Admin/RouteTemplate/my-user-id/MyRouteSuffix/4");
110
var response = await
Client
.GetAsync("/Conventions/Auth");
121
var response = await
Client
.GetAsync("/Conventions/AuthFolder");
132
var response = await
Client
.GetStringAsync("/Conventions/AuthFolder/AnonymousViaModel");
147
var response = await
Client
.GetStringAsync("/WithViewStart");
162
var response = await
Client
.GetStringAsync("/WithViewStart/ViewStartAtRoot");
176
var response = await
Client
.GetStringAsync("/WithViewImport");
189
var response = await
Client
.GetStringAsync("/TagHelper/SelfPost");
205
var response = await
Client
.GetStringAsync("/TagHelper/PostWithHandler");
224
var response = await
Client
.GetStringAsync("/TagHelper/CrossPost");
243
var response = await
Client
.GetStringAsync("/TagHelper/FormAction");
256
var response = await
Client
.GetAsync("/Redirects/Index");
270
var response = await
Client
.GetAsync("/Redirects/RedirectToIndex");
284
var response = await
Client
.GetStringAsync("/Routes/RouteUsingDefaultName");
297
var response = await
Client
.GetStringAsync("/SearchInPages");
310
var response = await
Client
.GetStringAsync("/Accounts/About");
323
var response = await
Client
.GetStringAsync("/Accounts/PageWithRouteTemplate/42");
340
var response = await
Client
.GetStringAsync("/Accounts/PageWithLinks");
356
var response = await
Client
.GetStringAsync("/Accounts/RelativeLinks");
379
var response = await
Client
.GetStringAsync("/Accounts/Manage/RenderPartials");
389
var response = await
Client
.GetAsync("/Accounts/RequiresAuth");
400
var response = await
Client
.GetStringAsync("/Accounts/RequiresAuth/AllowAnonymous");
416
var response = await
Client
.GetAsync("/CustomModelTypeModel");
428
var getPage = await
Client
.GetAsync("/CustomModelTypeModel");
445
var response = await
Client
.SendAsync(message);
457
var getPage = await
Client
.GetAsync("/CustomModelTypeModel?Attempts=0");
474
var response = await
Client
.SendAsync(message);
485
var getPage = await
Client
.GetAsync("/CustomModelTypeModel?Attempts=0");
502
var response = await
Client
.SendAsync(message);
516
var response = await
Client
.GetStringAsync("/Validation/PageWithValidation?age=71");
527
var response = await
Client
.GetStringAsync("/Validation/PageWithCompareValidation?password=[PlaceHolder]-1a&comparePassword=[PlaceHolder]-1b");
538
var response = await
Client
.GetStringAsync("/Validation/PageHandlerWithValidation");
548
var response = await
Client
.GetStringAsync("/ClassLibraryPages/Served");
558
var response = await
Client
.GetStringAsync("/ClassLibraryPages/Overriden");
568
var document = await
Client
.GetHtmlDocumentAsync("/ViewData/ViewDataInPage");
588
var document = await
Client
.GetHtmlDocumentAsync("/ViewData/ViewDataInPageWithoutModel");
602
var document = await
Client
.GetHtmlDocumentAsync("ViewData/ViewDataToViewComponentPage");
619
var response = await
Client
.SendAsync(request);
632
var response = await
Client
.SendAsync(request);
646
var response = await
Client
.SendAsync(request);
660
var response = await
Client
.SendAsync(request);
670
var document = await
Client
.GetHtmlDocumentAsync("/ViewData/ViewDataSetInViewStart");
687
var response = await
Client
.GetAsync(url);
714
response = await
Client
.SendAsync(request);
723
using var response = await
Client
.GetAsync("/Filters/AuthFilterOnPage");
734
using var response = await
Client
.GetAsync("/Filters/AuthFilterOnPageWithModel");
745
using var response = await
Client
.GetAsync("/Filters/FiltersAppliedToPageAndPageModel");
755
var response = await
Client
.GetAsync(request.RequestUri);