Table of Contents

HostingEnvironmentOptions Constructor

Definition

HostingEnvironmentOptions()

Initializes a new instance of the HostingEnvironmentOptions class.

public HostingEnvironmentOptions()

Remarks

The following table shows the initial property values for an instance of HostingEnvironmentOptions.

PropertyInitial Value
HeaderNameX-Hosting-Environment
SuppressHeaderPredicateenvironment => environment.IsProduction()