AppContextIsTest 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 public bool IsTest { get; set; }
Public Property IsTest As Boolean
Get
Set
Property Value
Type:
BooleanTrue if site is configured as a test site, else false.
Implements
IAppContextIsTestSee Also