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
- builderIWebHostBuilder
- The IWebHostBuilder to configure. 
Returns
- IWebHostBuilder
- The incoming - builderso 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
- builderIWebHostBuilder
- The IWebHostBuilder to configure. 
- loggerFactoryILoggerFactory
- 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 - builderso 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
- builderIWebHostBuilder
- The IWebHostBuilder to configure. 
- assemblyNamesToExcludeIReadOnlySet<string>
- The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames. 
Returns
- IWebHostBuilder
- The incoming - builderso 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
- builderIWebHostBuilder
- The IWebHostBuilder to configure. 
- assemblyNamesToExcludeIReadOnlySet<string>
- The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames. 
- loggerFactoryILoggerFactory
- 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 - builderso that additional calls can be chained.