1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
RoutingTestsBase.cs (1)
24Client = Factory.CreateDefaultClient();
107 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (107)
RoutingEndpointRoutingTest.cs (26)
16var response = await Client.GetAsync("http://localhost/PageRoute/Attribute/pagevalue"); 37var response = await Client.GetAsync("http://localhost/parameter-transformer/my-action"); 53var response = await Client.GetAsync("http://localhost/ParameterTransformer/MyAction"); 63var response = await Client.GetAsync("http://localhost/EndpointRouting/Index"); 79var response = await Client.GetAsync("http://localhost/EndpointRouting"); 95var response = await Client.GetAsync("http://localhost/endpoint-routing/ParameterTransformer"); 111var response = await Client.GetAsync("http://localhost/EndpointRouting/ParameterTransformer"); 124var response = await Client.GetAsync(url); 144var response = await Client.GetAsync(url); 164var response = await Client.GetAsync(url); 184var response = await Client.GetAsync(url); 201var response = await Client.GetAsync("http://localhost/Routing/HasEndpointMatch"); 216var response = await Client.GetAsync("http://localhost/RouteData/Conventional"); 233var response = await Client.GetAsync("http://localhost/RouteData/Attribute"); 251var response = await Client.GetAsync("http://localhost/Travel/Flight/BuyTickets"); 261var response = await Client.GetAsync("http://localhost/ConventionalTransformerRoute/conventional-transformer/Index"); 276var response = await Client.GetAsync("http://localhost/ConventionalTransformerRoute/ConventionalTransformer/Index"); 286var response = await Client.GetAsync("http://localhost/ConventionalTransformerRoute/conventional-transformer"); 301var response = await Client.GetAsync("http://localhost/ConventionalTransformerRoute/conventional-transformer/Param/my-value"); 321var response = await Client.GetAsync(url); 340var response = await Client.GetAsync(url); 359var response = await Client.GetAsync(url); 377var response = await Client.GetAsync("/EndpointName/LinkToConventionalRouted"); 392var response = await Client.GetAsync("/EndpointName/LinkToConventionalRouted/test"); 407var response = await Client.GetAsync("/EndpointName/LinkToAttributeRouted"); 422var response = await Client.GetAsync("/EndpointName/LinkToAttributeRouted/test");
RoutingTests.cs (4)
17var response = await Client.GetAsync("http://localhost/Routing/HasEndpointMatch"); 36var response = await Client.SendAsync(new HttpRequestMessage(new HttpMethod("POST"), url)); 46var response = await Client.GetAsync("http://localhost/RouteData/Conventional"); 68var response = await Client.GetAsync("http://localhost/RouteData/Attribute");
RoutingTestsBase.cs (77)
44var response = await Client.GetAsync(requestUrl); 62var response = await Client.GetAsync("http://localhost/NonParameterConstraintRoute/NonParameterConstraint/Index?allowed=true"); 78var response = await Client.GetAsync("http://localhost/NonParameterConstraintRoute/NonParameterConstraint/Index?allowed=false"); 88var response = await Client.GetAsync("http://localhost/PageRoute/ConventionalRoute/pagevalue"); 111var response = await Client.GetAsync(url); 131var response = await Client.GetAsync(url); 161var response = await Client.GetAsync("http://localhost/RouteData/DataTokens"); 170response = await Client.GetAsync("http://localhost/RouteData/Conventional"); 193var response = await Client.GetAsync("http://localhost/DataTokensRoute/DataTokens/Index"); 205var response = await Client.GetAsync("http://localhost/DataTokens/Index"); 217var response = await Client.GetAsync("http://localhost/page-route-transformer/index"); 227var response = await Client.GetAsync("http://localhost/page-route-transformer"); 237var response = await Client.GetAsync("http://localhost/page-route-transformer/test-page/ExtraPath/World"); 249var response = await Client.GetAsync("http://localhost/PageRouteTransformer/NewConventionRoute/World"); 261var response = await Client.GetAsync("http://localhost/Home/Index"); 285var response = await Client.GetAsync("http://localhost/"); 309var response = await Client.GetAsync("http://localhost/Home/NotAnAction"); 319var response = await Client.GetAsync("http://localhost/Travel/Flight/Index"); 344var response = await Client.GetAsync("http://localhost/Travel/Flight/BuyTickets"); 356var response = await Client.GetAsync("http://localhost/Home/OptionalPath/" + optionalSegment); 371var response = await Client.GetAsync("http://localhost/Store/Shop/Products"); 404var response = await Client.SendAsync(request); 457var response = await Client.SendAsync(request); 469var response = await Client.GetAsync(url); 496var response = await Client.SendAsync(new HttpRequestMessage(HttpMethod.Post, url)); 522var response = await Client.SendAsync(new HttpRequestMessage(new HttpMethod("POST"), url)); 538var response = await Client.SendAsync(new HttpRequestMessage(new HttpMethod(method), url)); 566var response = await Client.GetAsync(url); 609var response = await Client.SendAsync(new HttpRequestMessage(new HttpMethod(method), url)); 620var response = await Client.GetAsync("http://localhost/Store/ListProducts"); 632var response = await Client.GetAsync("http://localhost/Home/About"); 649var response = await Client.GetAsync("http://localhost/Blog/Edit/5"); 679var response = await Client.GetAsync("http://localhost/api/Employee"); 706var response = await Client.SendAsync(message); 731var response = await Client.SendAsync(message); 751var response = await Client.SendAsync(message); 774var response = await Client.SendAsync(message); 796var response = await Client.SendAsync(message); 821var response = await Client.SendAsync(message); 841var response = await Client.SendAsync(message); 864var response = await Client.SendAsync(message); 885var response = await Client.GetAsync("http://localhost/Manager/5"); 906var response = await Client.GetAsync("http://localhost/Team/5"); 927var response = await Client.GetAsync("http://localhost/Teams"); 944var response = await Client.GetStringAsync("http://localhost/Organization/5"); 955var response = await Client.GetStringAsync("http://localhost/Teams/AllTeams"); 968var body = await Client.GetStringAsync("http://localhost/TeamName/" + teamName); 983var response = await Client.GetAsync(url); 1003var response = await Client.GetAsync(url); 1023var response = await Client.GetAsync(url); 1043var response = await Client.GetAsync(url); 1067var response = await Client.SendAsync(message); 1085var response = await Client.DeleteAsync("http://localhost/api/Company/5"); 1107var response = await Client.GetAsync("http://localhost/api/Company/5/Employees"); 1125var response = await Client.GetAsync("http://localhost/api/Company/5/Departments"); 1147var response = await Client.GetAsync(url); 1168var response = await Client.GetAsync(url); 1189var response = await Client.GetAsync(url); 1211var response = await Client.GetAsync(url); 1233var response = await Client.GetAsync(url); 1255var response = await Client.GetAsync(url); 1277var response = await Client.GetAsync(url); 1297var response = await Client.GetAsync(url); 1318var response = await Client.GetAsync(url); 1339var response = await Client.GetAsync(url); 1359var response = await Client.GetAsync(url); 1380var response = await Client.GetAsync(url); 1401var response = await Client.GetAsync(url); 1422var response = await Client.GetAsync(url); 1443var response = await Client.GetAsync(url); 1464var response = await Client.GetAsync(url); 1489var response = await Client.SendAsync(request); 1524var response = await Client.SendAsync(request); 1541var response = await Client.SendAsync(request); 1558var response = await Client.GetAsync("http://localhost/PageWithLinks"); 1576var response = await Client.GetAsync("/afterrouting"); 1588var response = await Client.GetAsync("/PageParameter/LinkToPageParameter");