Click or drag to resize
SystemContextIsWebSite Property
Indicates whether the application runs on a web server, or as part of some other tool (e.g. Console application).

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

Property Value

Type: Boolean
Remarks

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