Table of Contents

Class WebHostBuilderExtensions

Namespace
Steeltoe.Bootstrap.AutoConfiguration
Assembly
Steeltoe.Bootstrap.AutoConfiguration.dll
public static class WebHostBuilderExtensions
Inheritance
WebHostBuilderExtensions
Inherited Members

Methods

AddSteeltoe(IWebHostBuilder)

Automatically configures Steeltoe packages that have been added to your project as NuGet references.

public static IWebHostBuilder AddSteeltoe(this IWebHostBuilder builder)

Parameters

builder IWebHostBuilder

The IWebHostBuilder to configure.

Returns

IWebHostBuilder

The incoming builder so that additional calls can be chained.

AddSteeltoe(IWebHostBuilder, ILoggerFactory)

Automatically configures Steeltoe packages that have been added to your project as NuGet references.

public static IWebHostBuilder AddSteeltoe(this IWebHostBuilder builder, ILoggerFactory loggerFactory)

Parameters

builder IWebHostBuilder

The IWebHostBuilder to configure.

loggerFactory ILoggerFactory

Used for internal logging. Pass Instance to disable logging, or use BootstrapLoggerFactory to write only to the console until logging is fully initialized.

Returns

IWebHostBuilder

The incoming builder so that additional calls can be chained.

AddSteeltoe(IWebHostBuilder, IReadOnlySet<string>)

Automatically configures Steeltoe packages that have been added to your project as NuGet references.

public static IWebHostBuilder AddSteeltoe(this IWebHostBuilder builder, IReadOnlySet<string> assemblyNamesToExclude)

Parameters

builder IWebHostBuilder

The IWebHostBuilder to configure.

assemblyNamesToExclude IReadOnlySet<string>

The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames.

Returns

IWebHostBuilder

The incoming builder so that additional calls can be chained.

AddSteeltoe(IWebHostBuilder, IReadOnlySet<string>, ILoggerFactory)

Automatically configures Steeltoe packages that have been added to your project as NuGet references.

public static IWebHostBuilder AddSteeltoe(this IWebHostBuilder builder, IReadOnlySet<string> assemblyNamesToExclude, ILoggerFactory loggerFactory)

Parameters

builder IWebHostBuilder

The IWebHostBuilder to configure.

assemblyNamesToExclude IReadOnlySet<string>

The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames.

loggerFactory ILoggerFactory

Used for internal logging. Pass Instance to disable logging, or use BootstrapLoggerFactory to write only to the console until logging is fully initialized.

Returns

IWebHostBuilder

The incoming builder so that additional calls can be chained.