92 references to HttpClientHandler
Aspire.Dashboard.Tests (5)
Integration\FrontendOpenIdConnectAuthTests.cs (2)
31var handler = new HttpClientHandler() 76var handler = new HttpClientHandler()
Integration\ResponseCompressionTests.cs (2)
22using var httpClientHandler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.None }; 44using var httpClientHandler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.None };
Integration\StartupTests.cs (1)
288using var httpClient = new HttpClient(new HttpClientHandler
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceModelHttpMessageHandler.CoreClr.cs (1)
21_innerHandler = new HttpClientHandler();
IIS.FunctionalTests (9)
Http2TrailersResetTests.cs (2)
505var handler = new HttpClientHandler(); 514var handler = new HttpClientHandler();
Http3Tests.cs (1)
178var handler = new HttpClientHandler();
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
127var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
358var handler = new HttpClientHandler(); 372var handler = new HttpClientHandler(); 391var handler = new HttpClientHandler();
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
73var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\WindowsAuthTests.cs (1)
54var client = deploymentResult.CreateClient(new HttpClientHandler { UseDefaultCredentials = true });
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IISExpress.FunctionalTests (10)
InProcess\AuthenticationTests.cs (1)
54var httpClientHandler = new HttpClientHandler() { UseDefaultCredentials = true };
OutOfProcess\NtlmAuthentationTest.cs (1)
71var httpClientHandler = new HttpClientHandler() { UseDefaultCredentials = true };
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
127var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
358var handler = new HttpClientHandler(); 372var handler = new HttpClientHandler(); 391var handler = new HttpClientHandler();
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
73var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\WindowsAuthTests.cs (1)
54var client = deploymentResult.CreateClient(new HttpClientHandler { UseDefaultCredentials = true });
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
Interop.FunctionalTests (7)
Http2WebSocketInteropTests.cs (2)
138var handler = new HttpClientHandler(); 168var handler = new HttpClientHandler();
Http3\Http3RequestTests.cs (4)
1002var httpClientHandler = new HttpClientHandler(); 1099var httpClientHandler = new HttpClientHandler(); 1247var httpClientHandler = new HttpClientHandler(); 1308var httpClientHandler = new HttpClientHandler();
HttpClientHttp2InteropTests.cs (1)
1688var handler = new HttpClientHandler();
InteropClient (1)
InteropClient.cs (1)
158var httpClientHandler = new HttpClientHandler();
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerPostConfigureOptions.cs (1)
54options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthPostConfigureOptions.cs (1)
38options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectPostConfigureOptions.cs (1)
70options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterPostConfigureOptions.cs (1)
48options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationPostConfigureOptions.cs (1)
65options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
555var httpClientHandler = new HttpClientHandler();
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3318using (var client = new HttpClient(new HttpClientHandler() { CookieContainer = cookies }))
Microsoft.AspNetCore.Identity.Test (1)
IdentityUIScriptsTest.cs (1)
23_httpClient = new HttpClient(new RetryHandler(new HttpClientHandler() { }, output, TimeSpan.FromSeconds(1), 5));
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (14)
AuthenticationTests.cs (1)
459HttpClientHandler handler = new HttpClientHandler();
Http2Tests.cs (2)
622var handler = new HttpClientHandler(); 644var handler = new HttpClientHandler();
Http3Tests.cs (8)
38var handler = new HttpClientHandler(); 68var handler = new HttpClientHandler(); 108var handler = new HttpClientHandler(); 142var handler = new HttpClientHandler(); 170var handler = new HttpClientHandler(); 200var handler = new HttpClientHandler(); 225var handler = new HttpClientHandler(); 249var handler = new HttpClientHandler();
HttpsTests.cs (1)
275var handler = new HttpClientHandler();
Listener\AuthenticationOnExistingQueueTests.cs (1)
221HttpClientHandler handler = new HttpClientHandler();
ResponseTrailersTests.cs (1)
360var handler = new HttpClientHandler();
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentResult.cs (1)
55HttpClient = CreateHttpClient(new HttpClientHandler());
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeploymentResult.cs (1)
34HttpClient = CreateClient(new HttpClientHandler());
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
WebHostTests.cs (1)
417var httpHandler = new HttpClientHandler();
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
96var httpClient = new HttpClient(new HttpClientHandler()
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
42var handler = new HttpClientHandler
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\AutobahnTester.cs (1)
150var handler = new HttpClientHandler();
Microsoft.Build.Tasks.Core (1)
DownloadFile.cs (1)
150using (var client = new HttpClient(HttpMessageHandler ?? new HttpClientHandler(), disposeHandler: true) { Timeout = TimeSpan.FromMilliseconds(Timeout) })
Microsoft.DotNet.Arcade.Sdk (1)
src\DownloadFile.cs (1)
126using (var httpClient = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true }))
Microsoft.DotNet.Build.Tasks.Feed (2)
src\common\AzureStorageUtils.cs (1)
52new HttpClientHandler()
src\CreateAzureDevOpsFeed.cs (1)
132using (HttpClient client = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true })
Microsoft.DotNet.Deployment.Tasks.Links (1)
Microsoft.DotNet.Git.IssueManager (1)
Clients\AzureDevOpsClient.cs (1)
52HttpClient client = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true })
Microsoft.DotNet.Helix.Sdk (3)
AzureDevOpsTask.cs (1)
56using (var client = new HttpClient(new HttpClientHandler
FindDotNetCliPackage.cs (1)
62_httpMessageHandler = new HttpClientHandler { CheckCertificateRevocationList = true };
ProvisioningProfileProvider.cs (1)
241collection.TryAddSingleton(_ => new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true }));
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Program.cs (1)
118using (var client = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true }))
Microsoft.DotNet.SwaggerGenerator.MSBuild (1)
GenerateSwaggerCode.cs (1)
98using (var client = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true }))
Microsoft.DotNet.VersionTools (1)
Util\X509Helper.cs (1)
13return new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true });
Microsoft.Extensions.Http (1)
DefaultHttpMessageHandlerBuilder.cs (1)
84return new HttpClientHandler();
Negotiate.Client (1)
Controllers\AuthTestController.cs (1)
327return new HttpClient(new HttpClientHandler()
ServerComparison.FunctionalTests (2)
NtlmAuthenticationTest.cs (1)
87httpClient = deploymentResult.CreateHttpClient(new HttpClientHandler() { UseDefaultCredentials = true });
ResponseCompressionTests.cs (1)
137var httpClientHandler = new HttpClientHandler() { AutomaticDecompression = DecompressionMethods.None };
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (1)
33Client = new HttpClient(new HttpClientHandler
System.Net.Http (1)
System\Net\Http\HttpClient.cs (1)
138public HttpClient() : this(new HttpClientHandler())
System.Private.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
42var handler = new HttpClientHandler();
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
30new(new HttpClientHandler { CheckCertificateRevocationList = true });
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
Templates.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()