41 references to HttpClientHandler
aspire (1)
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
122var handler = new HttpClientHandler();
Aspire.Dashboard (1)
Model\DebugSessionHelpers.cs (1)
15var handler = new HttpClientHandler();
Aspire.Dashboard.Tests (11)
Integration\FrontendBrowserTokenAuthTests.cs (5)
97using var handler = new HttpClientHandler 144using var handler = new HttpClientHandler 183using var handler = new HttpClientHandler 232using var client = new HttpClient(new HttpClientHandler { AllowAutoRedirect = true, UseCookies = true }) 260using var handler = new HttpClientHandler
Integration\FrontendOpenIdConnectAuthTests.cs (2)
30var handler = new HttpClientHandler() 75var handler = new HttpClientHandler()
Integration\HealthTests.cs (1)
29using var httpClientHandler = new HttpClientHandler { AllowAutoRedirect = false };
Integration\ResponseCompressionTests.cs (2)
21using var httpClientHandler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.None }; 43using var httpClientHandler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.None };
Integration\StartupTests.cs (1)
408using var httpClient = new HttpClient(new HttpClientHandler
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
2182new() { AllowAutoRedirect = false };
Aspire.Hosting.Testing.Tests (3)
DashboardUrlTests.cs (3)
38using var handler = new HttpClientHandler 174using var handler = new HttpClientHandler 219using var handler = new HttpClientHandler
BlazorHosted.ClientServiceDefaults (1)
BackgroundExportHandler.cs (1)
17ILogger logger) : DelegatingHandler(new HttpClientHandler())
BlazorStandalone.ClientServiceDefaults (1)
BackgroundExportHandler.cs (1)
17ILogger logger) : DelegatingHandler(new HttpClientHandler())
dotnet-sourcelink (1)
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceModelHttpMessageHandler.CoreClr.cs (1)
21_innerHandler = 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)
575var httpClientHandler = new HttpClientHandler();
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
768return new HttpClientHandler();
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentResult.cs (1)
55HttpClient = CreateHttpClient(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.Build.Tasks.Core (1)
DownloadFile.cs (1)
154using (var client = new HttpClient(HttpMessageHandler ?? new HttpClientHandler(), disposeHandler: true) { Timeout = TimeSpan.FromMilliseconds(Timeout) })
Microsoft.Extensions.AI.Integration.Tests (1)
VerbatimHttpHandler.cs (1)
37: base(new HttpClientHandler())
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIAssistantChatClientIntegrationTests.cs (1)
106using HttpClient client = new(new HttpClientHandler
Microsoft.Extensions.Http (1)
DefaultHttpMessageHandlerBuilder.cs (1)
83return new HttpClientHandler();
Microsoft.TemplateSearch.Common (1)
Providers\NuGetMetadataSearchProvider.cs (1)
172HttpClientHandler handler = new()
NuGet.Protocol (1)
HttpSource\HttpHandlerResourceV3Provider.cs (1)
63var clientHandler = new HttpClientHandler
System.Net.Http (1)
System\Net\Http\HttpClient.cs (1)
143public HttpClient() : this(new HttpClientHandler())
System.Private.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
42var handler = new HttpClientHandler();
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
385return new HttpClientHandler();
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
29new(new HttpClientHandler { CheckCertificateRevocationList = true });