WebHostBuilderOptions.SuppressEnvironmentConfiguration 属性

定义

指示是否应将“ASPNETCORE_”前缀环境变量添加到配置中。 默认情况下会添加它们。

public bool SuppressEnvironmentConfiguration { get; set; }
member this.SuppressEnvironmentConfiguration : bool with get, set
Public Property SuppressEnvironmentConfiguration As Boolean

属性值

适用于