SystemContextIsWebSite Property |
Indicates whether the application runs on a web server, or as part of some other tool (e.g. Console application).
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax public static bool IsWebSite { get; set; }
Property Value
Type:
BooleanRemarks
The web site is automatically detected during application start (SetIsWebSiteFlag initialization method is called).
To distinguish a web site from a web application, IsWebApplicationProject is suitable.
See Also