Class WebHostBuilderExtensions
Inheritance
Namespace: Steeltoe.Bootstrap.AutoConfiguration
Assembly: Steeltoe.Bootstrap.AutoConfiguration.dll
Syntax
public static class WebHostBuilderExtensions : object
Methods
| Edit this page View SourceAddSteeltoe(IWebHostBuilder)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
Declaration
public static IWebHostBuilder AddSteeltoe(this IWebHostBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | builder | The |
Returns
Type | Description |
---|---|
IWebHostBuilder | The incoming |
AddSteeltoe(IWebHostBuilder, ILoggerFactory)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
Declaration
public static IWebHostBuilder AddSteeltoe(this IWebHostBuilder builder, ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | builder | The |
ILoggerFactory | loggerFactory | Used for internal logging. Pass |
Returns
Type | Description |
---|---|
IWebHostBuilder | The incoming |
AddSteeltoe(IWebHostBuilder, IReadOnlySet<String>)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
Declaration
public static IWebHostBuilder AddSteeltoe(this IWebHostBuilder builder, IReadOnlySet<string> assemblyNamesToExclude)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | builder | The |
IReadOnlySet<System.String> | assemblyNamesToExclude | The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames. |
Returns
Type | Description |
---|---|
IWebHostBuilder | The incoming |
AddSteeltoe(IWebHostBuilder, IReadOnlySet<String>, ILoggerFactory)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
Declaration
public static IWebHostBuilder AddSteeltoe(this IWebHostBuilder builder, IReadOnlySet<string> assemblyNamesToExclude, ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | builder | The |
IReadOnlySet<System.String> | assemblyNamesToExclude | The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames. |
ILoggerFactory | loggerFactory | Used for internal logging. Pass |
Returns
Type | Description |
---|---|
IWebHostBuilder | The incoming |