Click or drag to resize
SystemContextIsWebSite Property
If true, the application is a web site/application. Must be explicitly set for web application.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public static bool IsWebSite { get; set; }

Property Value

Type: Boolean
Remarks
Based on this property you can determine whether the application runs on a web server, or as part of some other tool. To distinguish a web site from a web application, IsWebApplicationProject is suitable.
See Also