39 references to AddHttpClient
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
456services.AddHttpClient()
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
236services.AddHttpClient();
Aspire.Hosting.Testing.Tests (1)
DistributedApplicationHttpClientExtensionsForTests.cs (1)
22services.AddHttpClient()
Aspire.Hosting.Tests (2)
tests\Aspire.Hosting.Testing.Tests\DistributedApplicationHttpClientExtensionsForTests.cs (1)
22services.AddHttpClient()
Utils\TestDistributedApplicationBuilder.cs (1)
83_innerBuilder.Services.AddHttpClient();
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationExtensions.cs (1)
197.AddHttpClient()
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
456services.AddHttpClient()
Microsoft.Extensions.Http (21)
DependencyInjection\HttpClientFactoryServiceCollectionExtensions.cs (18)
85AddHttpClient(services); 113AddHttpClient(services); 141AddHttpClient(services); 171AddHttpClient(services); 206AddHttpClient(services); 247AddHttpClient(services); 287AddHttpClient(services); 331AddHttpClient(services); 368AddHttpClient(services); 407AddHttpClient(services); 451AddHttpClient(services); 495AddHttpClient(services); 538AddHttpClient(services); 580AddHttpClient(services); 627AddHttpClient(services); 674AddHttpClient(services); 754AddHttpClient(services); 831AddHttpClient(services);
IHttpClientFactory.cs (1)
14/// by calling <see cref="HttpClientFactoryServiceCollectionExtensions.AddHttpClient(IServiceCollection)"/>.
IHttpMessageHandlerFactory.cs (1)
14/// by calling <see cref="HttpClientFactoryServiceCollectionExtensions.AddHttpClient(IServiceCollection)"/>.
ITypedHttpClientFactory.cs (1)
26/// by calling <see cref="HttpClientFactoryServiceCollectionExtensions.AddHttpClient(IServiceCollection)"/>.
Microsoft.Extensions.Http.Diagnostics.Tests (9)
Latency\HttpClientLatencyTelemetryExtensionsTest.cs (2)
37.AddHttpClient() 62.AddHttpClient()
Logging\AcceptanceTests.cs (3)
298.AddHttpClient() 344.AddHttpClient() 634.AddHttpClient()
Logging\HttpClientLoggingExtensionsTest.cs (4)
272.AddHttpClient() 316.AddHttpClient() 381.AddHttpClient() 399.AddHttpClient()
Stress.AppHost (1)
Program.cs (1)
7builder.Services.AddHttpClient();
TestProject.AppHost (1)
TestProgram.cs (1)
90AppBuilder.Services.AddHttpClient();