1 write to HttpClient
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentResult.cs (1)
55HttpClient = CreateHttpClient(new HttpClientHandler());
20 references to HttpClient
IIS.Microbenchmarks (1)
StartupTimeBenchmark.cs (1)
38_client = _deployer.DeployAsync().Result.HttpClient;
IISExpress.FunctionalTests (1)
OutOfProcess\MultipleAppTests.cs (1)
48requestTasks.Add(deploymentResult.HttpClient.GetAsync("/HelloWorld"));
Microsoft.AspNetCore.FunctionalTests (7)
WebHostFunctionalTests.cs (7)
18await ExecuteStartOrStartWithTest(deploymentResult => deploymentResult.HttpClient.GetAsync(string.Empty), "StartRequestDelegateUrlApp"); 24await ExecuteStartOrStartWithTest(deploymentResult => deploymentResult.HttpClient.GetAsync("/route"), "StartRouteBuilderUrlApp"); 30await ExecuteStartOrStartWithTest(deploymentResult => deploymentResult.HttpClient.GetAsync(string.Empty), "StartWithIApplicationBuilderUrlApp"); 39var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken, retryCount: 5); 64var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken, retryCount: 5); 91var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken); 165var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), Logger, deploymentResult.HostShutdownToken, retryCount: 5);
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
LinkedApplicationTests.cs (1)
46var response = await RetryHelper.RetryRequest(() => result.HttpClient.GetAsync("/"), logger, retryCount: 10);
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (1)
DelegateOutOfProcTests.cs (1)
49var responseString = await deploymentResult.HttpClient.GetStringAsync("").DefaultTimeout();
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Common\DeploymentResult.cs (2)
38/// An <see cref="HttpClient"/> with <see cref="LoggingHandler"/> configured and the <see cref="HttpClient.BaseAddress"/> set to the <see cref="ApplicationBaseUri"/> 59/// Create an <see cref="HttpClient"/> with <see cref="LoggingHandler"/> configured and the <see cref="HttpClient.BaseAddress"/> set to the <see cref="ApplicationBaseUri"/>,
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeploymentResult.cs (1)
41BaseAddress = base.HttpClient.BaseAddress,
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\AutobahnTester.cs (1)
88var resp = await deployment.HttpClient.GetAsync("/ping", token);
ServerComparison.FunctionalTests (5)
HelloWorldTest.cs (2)
66return deploymentResult.HttpClient.GetAsync(string.Empty); 152return deploymentResult.HttpClient.GetAsync("/throwexception");
NtlmAuthenticationTest.cs (1)
48var httpClient = deploymentResult.HttpClient;
ResponseTests.cs (2)
106return deploymentResult.HttpClient.GetAsync(string.Empty); 121await scenario(deploymentResult.HttpClient, logger);