Class ConfigServerHostBuilderExtensions
- Namespace
- Steeltoe.Configuration.ConfigServer
- Assembly
- Steeltoe.Configuration.ConfigServer.dll
public static class ConfigServerHostBuilderExtensions
- Inheritance
-
ConfigServerHostBuilderExtensions
- Inherited Members
Methods
AddConfigServer(IWebHostBuilder)
Adds Config Server and Cloud Foundry as application configuration sources. Adds Config Server health check contributor to the service container.
public static IWebHostBuilder AddConfigServer(this IWebHostBuilder builder)
Parameters
builderIWebHostBuilderThe IWebHostBuilder to configure.
Returns
- IWebHostBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IWebHostBuilder, ILoggerFactory)
Adds Config Server and Cloud Foundry as application configuration sources. Adds Config Server health check contributor to the service container.
public static IWebHostBuilder AddConfigServer(this IWebHostBuilder builder, ILoggerFactory loggerFactory)
Parameters
builderIWebHostBuilderThe IWebHostBuilder to configure.
loggerFactoryILoggerFactoryUsed for internal logging. Pass Instance to disable logging.
Returns
- IWebHostBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IWebHostBuilder, Action<ConfigServerClientOptions>?)
Adds Config Server and Cloud Foundry as application configuration sources. Adds Config Server health check contributor to the service container.
public static IWebHostBuilder AddConfigServer(this IWebHostBuilder builder, Action<ConfigServerClientOptions>? configure)
Parameters
builderIWebHostBuilderThe IWebHostBuilder to configure.
configureAction<ConfigServerClientOptions>An optional delegate that further configures options from code, after settings from IConfiguration have been applied.
Returns
- IWebHostBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IWebHostBuilder, Action<ConfigServerClientOptions>?, ILoggerFactory)
Adds Config Server and Cloud Foundry as application configuration sources. Adds Config Server health check contributor to the service container.
public static IWebHostBuilder AddConfigServer(this IWebHostBuilder builder, Action<ConfigServerClientOptions>? configure, ILoggerFactory loggerFactory)
Parameters
builderIWebHostBuilderThe IWebHostBuilder to configure.
configureAction<ConfigServerClientOptions>An optional delegate that further configures options from code, after settings from IConfiguration have been applied.
loggerFactoryILoggerFactoryUsed for internal logging. Pass Instance to disable logging.
Returns
- IWebHostBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IHostApplicationBuilder)
Adds Config Server and Cloud Foundry as application configuration sources. Also adds Config Server health check contributor and related services to the service container.
public static IHostApplicationBuilder AddConfigServer(this IHostApplicationBuilder builder)
Parameters
builderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
Returns
- IHostApplicationBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IHostApplicationBuilder, ILoggerFactory)
Adds Config Server and Cloud Foundry as application configuration sources. Also adds Config Server health check contributor and related services to the service container.
public static IHostApplicationBuilder AddConfigServer(this IHostApplicationBuilder builder, ILoggerFactory loggerFactory)
Parameters
builderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
loggerFactoryILoggerFactoryUsed for internal logging. Pass Instance to disable logging.
Returns
- IHostApplicationBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IHostApplicationBuilder, Action<ConfigServerClientOptions>?)
Adds Config Server and Cloud Foundry as application configuration sources. Also adds Config Server health check contributor and related services to the service container.
public static IHostApplicationBuilder AddConfigServer(this IHostApplicationBuilder builder, Action<ConfigServerClientOptions>? configure)
Parameters
builderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
configureAction<ConfigServerClientOptions>An optional delegate that further configures options from code, after settings from IConfiguration have been applied.
Returns
- IHostApplicationBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IHostApplicationBuilder, Action<ConfigServerClientOptions>?, ILoggerFactory)
Adds Config Server and Cloud Foundry as application configuration sources. Also adds Config Server health check contributor and related services to the service container.
public static IHostApplicationBuilder AddConfigServer(this IHostApplicationBuilder builder, Action<ConfigServerClientOptions>? configure, ILoggerFactory loggerFactory)
Parameters
builderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
configureAction<ConfigServerClientOptions>An optional delegate that further configures options from code, after settings from IConfiguration have been applied.
loggerFactoryILoggerFactoryUsed for internal logging. Pass Instance to disable logging.
Returns
- IHostApplicationBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IHostBuilder)
Adds Config Server and Cloud Foundry as application configuration sources. Adds Config Server health check contributor to the service container.
public static IHostBuilder AddConfigServer(this IHostBuilder builder)
Parameters
builderIHostBuilderThe IHostBuilder to configure.
Returns
- IHostBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IHostBuilder, ILoggerFactory)
Adds Config Server and Cloud Foundry as application configuration sources. Adds Config Server health check contributor to the service container.
public static IHostBuilder AddConfigServer(this IHostBuilder builder, ILoggerFactory loggerFactory)
Parameters
builderIHostBuilderThe IHostBuilder to configure.
loggerFactoryILoggerFactoryUsed for internal logging. Pass Instance to disable logging.
Returns
- IHostBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IHostBuilder, Action<ConfigServerClientOptions>?)
Adds Config Server and Cloud Foundry as application configuration sources. Adds Config Server health check contributor to the service container.
public static IHostBuilder AddConfigServer(this IHostBuilder builder, Action<ConfigServerClientOptions>? configure)
Parameters
builderIHostBuilderThe IHostBuilder to configure.
configureAction<ConfigServerClientOptions>An optional delegate that further configures options from code, after settings from IConfiguration have been applied.
Returns
- IHostBuilder
The incoming
builderso that additional calls can be chained.
AddConfigServer(IHostBuilder, Action<ConfigServerClientOptions>?, ILoggerFactory)
Adds Config Server and Cloud Foundry as application configuration sources. Adds Config Server health check contributor to the service container.
public static IHostBuilder AddConfigServer(this IHostBuilder builder, Action<ConfigServerClientOptions>? configure, ILoggerFactory loggerFactory)
Parameters
builderIHostBuilderThe IHostBuilder to configure.
configureAction<ConfigServerClientOptions>An optional delegate that further configures options from code, after settings from IConfiguration have been applied.
loggerFactoryILoggerFactoryUsed for internal logging. Pass Instance to disable logging.
Returns
- IHostBuilder
The incoming
builderso that additional calls can be chained.