40 references to Configure
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\TracerProviderBuilderExtensions.cs (1)
68builder.ConfigureServices(services => services.Configure(name, configureSqlClientTraceInstrumentationOptions));
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\TracerProviderBuilderExtensions.cs (1)
68builder.ConfigureServices(services => services.Configure(name, configureSqlClientTraceInstrumentationOptions));
Aspire.OpenAI (1)
AspireOpenAIExtensions.cs (1)
87builder.Services.Configure<OpenAIClientOptions>(
Aspire.StackExchange.Redis (2)
AspireRedisExtensions.cs (1)
90builder.Services.Configure<ConfigurationOptions>(
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\TracerProviderBuilderExtensions.cs (1)
112services.Configure(name, configure);
HealthChecksSample (1)
GCInfoHealthCheck.cs (1)
30builder.Services.Configure<GCInfoOptions>(name, options =>
Microsoft.AspNetCore.Authentication (1)
AuthenticationBuilder.cs (1)
44Services.Configure(authenticationScheme, configureOptions);
Microsoft.AspNetCore.Authentication.Test (4)
CookieTests.cs (2)
1304services.Configure<CookieAuthenticationOptions>(CookieAuthenticationDefaults.AuthenticationScheme, 1332services.Configure<CookieAuthenticationOptions>("Cookie1",
DynamicSchemeTests.cs (2)
26s.Configure<TestOptions>("One", o => o.Instance = new Singleton()); 27s.Configure<TestOptions>("Two", o => o.Instance = new Singleton());
Microsoft.AspNetCore.Identity (2)
IdentityServiceCollectionExtensions.cs (2)
161=> services.Configure(IdentityConstants.ApplicationScheme, configure); 170=> services.Configure(IdentityConstants.ExternalScheme, configure);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\FunctionalTestsServiceCollectionExtensions.cs (1)
35services.Configure<CookieAuthenticationOptions>(schemeName, o => o.Events.OnSigningIn = context =>
Microsoft.AspNetCore.OpenApi (1)
Extensions\OpenApiServiceCollectionExtensions.cs (1)
61services.Configure<OpenApiOptions>(documentName, options =>
Microsoft.Extensions.Diagnostics.Probes (1)
TcpEndpointProbesExtensions.cs (1)
93_ = services.Configure(name, configure);
Microsoft.Extensions.Http (18)
DependencyInjection\HttpClientBuilderExtensions.cs (14)
33builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => options.HttpClientActions.Add(configureClient)); 79builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 108builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 135builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 159builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 189builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 217builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 243builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 264builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => options.HttpMessageHandlerBuilderActions.Add(configureBuilder)); 290builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 563builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 582builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 625builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => options.HandlerLifetime = handlerLifetime); 641builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options =>
DependencyInjection\HttpClientBuilderExtensions.Logging.cs (3)
51builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 125builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => 143builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => options.SuppressDefaultLogging = false);
DependencyInjection\SocketsHttpHandlerBuilderExtensions.cs (1)
30builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options =>
Microsoft.Extensions.ObjectPool.DependencyInjection (2)
ObjectPoolServiceCollectionExtensions.cs (2)
72return services.Configure<DependencyInjectionPoolOptions>(typeof(TService).FullName, configure); 90_ = services.Configure<DependencyInjectionPoolOptions>(child.Key, options => options.Capacity = capacity);
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (2)
DependencyInjectionExtensionsTests.cs (2)
64.Configure<DependencyInjectionPoolOptions>(typeof(TestClass).FullName, options => options.Capacity = 2048) 65.Configure<DependencyInjectionPoolOptions>(typeof(TestDependency).FullName, options => options.Capacity = 4096);
Microsoft.Extensions.Options (2)
OptionsServiceCollectionExtensions.cs (2)
84=> services.Configure(Options.Options.DefaultName, configureOptions); 114=> services.Configure(name: null, configureOptions: configureOptions);