25 references to AddStandardResilienceHandler
Aspire.Hosting.Testing.Tests (1)
DistributedApplicationHttpClientExtensionsForTests.cs (1)
25b.AddStandardResilienceHandler();
Aspire.Hosting.Tests (2)
tests\Aspire.Hosting.Testing.Tests\DistributedApplicationHttpClientExtensionsForTests.cs (1)
25b.AddStandardResilienceHandler();
Utils\TestDistributedApplicationBuilder.cs (1)
84_innerBuilder.Services.ConfigureHttpClientDefaults(http => http.AddStandardResilienceHandler());
Microsoft.Extensions.Http.Resilience (2)
Resilience\ResilienceHttpClientBuilderExtensions.StandardResilience.cs (2)
36return builder.AddStandardResilienceHandler().Configure(section); 54return builder.AddStandardResilienceHandler().Configure(configure);
Microsoft.Extensions.Http.Resilience.PerformanceTests (2)
HttpClientFactory.cs (1)
42.AddStandardResilienceHandler()
StandardResilienceBenchmark.cs (1)
41.AddStandardResilienceHandler();
Microsoft.Extensions.Http.Resilience.Tests (13)
Resilience\HttpClientBuilderExtensionsTests.BySelector.cs (3)
31_builder.AddStandardResilienceHandler().SelectPipelineByAuthority().PipelineName : 78.AddStandardResilienceHandler() 125.AddStandardResilienceHandler()
Resilience\HttpClientBuilderExtensionsTests.Resilience.cs (1)
122.AddStandardResilienceHandler()
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (9)
160.AddStandardResilienceHandler() 236_builder.AddStandardResilienceHandler().Configure(config).Configure(options => 264var builder = new ServiceCollection().AddLogging().AddMetrics().AddHttpClient("test").AddStandardResilienceHandler(); 279MethodArgs.None => builder.AddStandardResilienceHandler(), 280MethodArgs.Configuration | MethodArgs.Builder => builder.AddStandardResilienceHandler().Configure(configuration), 281MethodArgs.ConfigureMethod | MethodArgs.Builder => builder.AddStandardResilienceHandler().Configure(configureMethod), 282MethodArgs.ConfigureMethodWithServiceProvider | MethodArgs.Builder => builder.AddStandardResilienceHandler().Configure((options, serviceProvider) => 287MethodArgs.Configuration | MethodArgs.ConfigureMethod | MethodArgs.Builder => builder.AddStandardResilienceHandler().Configure(configuration).Configure(configureMethod), 288MethodArgs.Configuration | MethodArgs.ConfigureMethod => builder.AddStandardResilienceHandler().Configure(configuration).Configure(configureMethod),
OrleansServiceDefaults (1)
Extensions.cs (1)
28http.AddStandardResilienceHandler();
Playground.ServiceDefaults (1)
Extensions.cs (1)
28http.AddStandardResilienceHandler();
Seq.ServiceDefaults (1)
Extensions.cs (1)
28http.AddStandardResilienceHandler();
TestingAppHost1.ServiceDefaults (1)
Extensions.cs (1)
31http.AddStandardResilienceHandler();
TestShop.ServiceDefaults (1)
Extensions.cs (1)
28http.AddStandardResilienceHandler();