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