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