Table of Contents

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

builder IWebHostBuilder

The IWebHostBuilder to configure.

Returns

IWebHostBuilder

The incoming builder so 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

builder IWebHostBuilder

The IWebHostBuilder to configure.

loggerFactory ILoggerFactory

Used for internal logging. Pass Instance to disable logging.

Returns

IWebHostBuilder

The incoming builder so 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

builder IWebHostBuilder

The IWebHostBuilder to configure.

configure Action<ConfigServerClientOptions>

An optional delegate that further configures options from code, after settings from IConfiguration have been applied.

Returns

IWebHostBuilder

The incoming builder so 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

builder IWebHostBuilder

The IWebHostBuilder to configure.

configure Action<ConfigServerClientOptions>

An optional delegate that further configures options from code, after settings from IConfiguration have been applied.

loggerFactory ILoggerFactory

Used for internal logging. Pass Instance to disable logging.

Returns

IWebHostBuilder

The incoming builder so 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

builder IHostApplicationBuilder

The IHostApplicationBuilder to configure.

Returns

IHostApplicationBuilder

The incoming builder so 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

builder IHostApplicationBuilder

The IHostApplicationBuilder to configure.

loggerFactory ILoggerFactory

Used for internal logging. Pass Instance to disable logging.

Returns

IHostApplicationBuilder

The incoming builder so 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

builder IHostApplicationBuilder

The IHostApplicationBuilder to configure.

configure Action<ConfigServerClientOptions>

An optional delegate that further configures options from code, after settings from IConfiguration have been applied.

Returns

IHostApplicationBuilder

The incoming builder so 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

builder IHostApplicationBuilder

The IHostApplicationBuilder to configure.

configure Action<ConfigServerClientOptions>

An optional delegate that further configures options from code, after settings from IConfiguration have been applied.

loggerFactory ILoggerFactory

Used for internal logging. Pass Instance to disable logging.

Returns

IHostApplicationBuilder

The incoming builder so 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

builder IHostBuilder

The IHostBuilder to configure.

Returns

IHostBuilder

The incoming builder so 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

builder IHostBuilder

The IHostBuilder to configure.

loggerFactory ILoggerFactory

Used for internal logging. Pass Instance to disable logging.

Returns

IHostBuilder

The incoming builder so 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

builder IHostBuilder

The IHostBuilder to configure.

configure Action<ConfigServerClientOptions>

An optional delegate that further configures options from code, after settings from IConfiguration have been applied.

Returns

IHostBuilder

The incoming builder so 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

builder IHostBuilder

The IHostBuilder to configure.

configure Action<ConfigServerClientOptions>

An optional delegate that further configures options from code, after settings from IConfiguration have been applied.

loggerFactory ILoggerFactory

Used for internal logging. Pass Instance to disable logging.

Returns

IHostBuilder

The incoming builder so that additional calls can be chained.