WebHostBuilderOptions.SuppressEnvironmentConfiguration 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示是否应将“ASPNETCORE_”前缀环境变量添加到配置中。 默认情况下会添加它们。
public bool SuppressEnvironmentConfiguration { get; set; }
member this.SuppressEnvironmentConfiguration : bool with get, set
Public Property SuppressEnvironmentConfiguration As Boolean