Click or drag to resize

IAppContextIsTest Property

Gets/Sets a flag is intended to suppress non-sensitive tester/developer information that should be available in a test environment even when that system is on the open internet. More sensitive information that should always be suppressed on the open internet, even in a test system, is controlled by the IsProduction flags. The IsTest property is controlled by the application's web.config file's appSettings section test_environment key and defaults to false:
<appSettings>
    <add key="test_environment" value="true"/>
</appSettings>
Note that IsProduction, IsTest, and IsDeveloper are independent of one another and various combinations are valid.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
bool IsTest { get; set; }

Property Value

Type: Boolean
True if site is configured as a test site, else false.
See Also