• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class Host

Contains most of the host settings.

Inheritance
System.Object
BaseEntityInfo
Host
Inherited Members
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
BaseEntityInfo.CreatedByUser(Int32)
BaseEntityInfo.LastModifiedByUser(Int32)
BaseEntityInfo.FillInternal(IDataReader)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
Namespace: DotNetNuke.Entities.Host
Assembly: DotNetNuke.dll
Syntax
public class Host : BaseEntityInfo

Properties

| Improve this Doc View Source

AdminMembershipResetLinkValidity

Gets set length of time (in minutes) that reset links are valid for - default is 24 hours (1440 min).

Declaration
public static int AdminMembershipResetLinkValidity { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

AllowControlPanelToDetermineVisibility

Gets a value indicating whether setting to control where the control panel is loaded by the core and allowed to control it's own visibility. this is useful when the control panel needs to be visible for all users regardless of edit page/module permissions. it's also for backwards compatibility, prior to 7.2 the control panel was always loaded.

Declaration
public static bool AllowControlPanelToDetermineVisibility { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

AllowedExtensionWhitelist

Gets the allowed file extensions.

Declaration
public static FileExtensionWhitelist AllowedExtensionWhitelist { get; }
Property Value
Type Description
FileExtensionWhitelist
| Improve this Doc View Source

AsyncTimeout

Gets get the time, in seconds, before asynchronous postbacks time out if no response is received.

Declaration
public static int AsyncTimeout { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

AuthenticatedCacheability

Gets the AuthenticatedCacheability.

Declaration
public static string AuthenticatedCacheability { get; }
Property Value
Type Description
System.String
Remarks

Defaults to HttpCacheability.ServerAndNoCache.

| Improve this Doc View Source

AutoAccountUnlockDuration

Gets the AutoAccountUnlockDuration.

Declaration
public static int AutoAccountUnlockDuration { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 10.

| Improve this Doc View Source

CdnEnabled

Gets a value indicating whether gets whether or not CDN has been enabled for all registered javascript libraries.

Declaration
public static bool CdnEnabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CheckUpgrade

Gets a value indicating whether gets whether the Upgrade Indicator is enabled.

Declaration
public static bool CheckUpgrade { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to True.

| Improve this Doc View Source

ControlPanel

Gets the Control Panel.

Declaration
public static string ControlPanel { get; }
Property Value
Type Description
System.String
Remarks

Defaults to glbDefaultControlPanel constant.

| Improve this Doc View Source

CrmEnableCompositeFiles

Gets a value indicating whether indicates whether Composite Files are enabled at the host level.

Declaration
public static bool CrmEnableCompositeFiles { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CrmMinifyCss

Gets a value indicating whether indicates whether CSS Minification is enabled at the host level.

Declaration
public static bool CrmMinifyCss { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CrmMinifyJs

Gets a value indicating whether indicates whether JS Minification is enabled at the host level.

Declaration
public static bool CrmMinifyJs { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CrmVersion

Gets the Client Resource Management version number.

Declaration
public static int CrmVersion { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 1.

| Improve this Doc View Source

DebugMode

Gets a value indicating whether gets whether the installation runs in debug mode. This property can be used by the framework and extensions alike to write more verbose logs/onscreen information, etc. It is set in the host settings page.

Declaration
public static bool DebugMode { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultAdminContainer

Gets the Default Admin Container.

Declaration
public static string DefaultAdminContainer { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DefaultAdminSkin

Gets the Default Admin Skin.

Declaration
public static string DefaultAdminSkin { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DefaultDocType

Gets the Default Doc Type.

Declaration
public static string DefaultDocType { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DefaultEndUserExtensionWhitelist

Gets default list of extensions an end user is allowed to upload.

Declaration
public static FileExtensionWhitelist DefaultEndUserExtensionWhitelist { get; }
Property Value
Type Description
FileExtensionWhitelist
| Improve this Doc View Source

DefaultPortalContainer

Gets the Default Portal Container.

Declaration
public static string DefaultPortalContainer { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DefaultPortalSkin

Gets the Default Portal Skin.

Declaration
public static string DefaultPortalSkin { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DemoPeriod

Gets the Demo Period for new portals.

Declaration
public static int DemoPeriod { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to -1.

| Improve this Doc View Source

DemoSignup

Gets a value indicating whether gets whether demo signups are enabled.

Declaration
public static bool DemoSignup { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

DisableEditBar

Gets a value indicating whether the default Edit Bar is disabled.

Declaration
public static bool DisableEditBar { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to false.

| Improve this Doc View Source

DisplayBetaNotice

Gets a value indicating whether gets whether to dislpay the beta notice.

Declaration
public static bool DisplayBetaNotice { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to True.

| Improve this Doc View Source

DisplayCopyright

Gets a value indicating whether gets whether to dislpay the copyright.

Declaration
public static bool DisplayCopyright { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to True.

| Improve this Doc View Source

EnableBannedList

Gets a value indicating whether enable checking for banned words when setting password during registration.

Declaration
public static bool EnableBannedList { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EnableBrowserLanguage

Gets a value indicating whether gets whether Browser Language Detection is Enabled.

Declaration
public static bool EnableBrowserLanguage { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to True.

| Improve this Doc View Source

EnableContentLocalization

Declaration
public static bool EnableContentLocalization { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EnableCustomModuleCssClass

Gets a value indicating whether gets whether a css class based on the Module Name is automatically rendered.

Declaration
public static bool EnableCustomModuleCssClass { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to True.

| Improve this Doc View Source

EnableFileAutoSync

Gets a value indicating whether gets whether File AutoSync is Enabled.

Declaration
public static bool EnableFileAutoSync { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

EnableIPChecking

Gets a value indicating whether enable whether the IP address of the user is checked against a list during login.

Declaration
public static bool EnableIPChecking { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EnableModuleOnLineHelp

Gets a value indicating whether gets whether Module Online Help is Enabled.

Declaration
public static bool EnableModuleOnLineHelp { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

EnableMsAjaxCdn

Gets a value indicating whether gets whether to use a hosted version of the MS Ajax Library.

Declaration
public static bool EnableMsAjaxCdn { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

EnablePasswordHistory

Gets a value indicating whether enable whether a previous passwords are stored to check if user is reusing them.

Declaration
public static bool EnablePasswordHistory { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EnableRequestFilters

Gets a value indicating whether gets whether the Request Filters are Enabled.

Declaration
public static bool EnableRequestFilters { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

EnableSMTPSSL

Gets a value indicating whether gets whether SSL is Enabled for SMTP.

Declaration
public static bool EnableSMTPSSL { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

EnableStrengthMeter

Gets a value indicating whether enable whether a client-side password strength meter is shown on registration screen.

Declaration
public static bool EnableStrengthMeter { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EnableTelerikCdn

Gets a value indicating whether gets whether to use a hosted version of the Telerik Library.

Declaration
public static bool EnableTelerikCdn { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

EnableUrlLanguage

Gets a value indicating whether gets whether to use the Language in the Url.

Declaration
public static bool EnableUrlLanguage { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to True.

| Improve this Doc View Source

EnableUsersOnline

Gets a value indicating whether gets whether Users Online are Enabled.

Declaration
public static bool EnableUsersOnline { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

EventLogBuffer

Gets a value indicating whether gets whether the Event Log Buffer is Enabled.

Declaration
public static bool EventLogBuffer { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

GUID

Gets the GUID.

Declaration
public static string GUID { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HelpURL

Gets the Help URL.

Declaration
public static string HelpURL { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HostCurrency

Gets the Host Currency.

Declaration
public static string HostCurrency { get; }
Property Value
Type Description
System.String
Remarks

Defaults to USD.

| Improve this Doc View Source

HostEmail

Gets the Host Email.

Declaration
public static string HostEmail { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HostFee

Gets the Host Fee.

Declaration
public static double HostFee { get; }
Property Value
Type Description
System.Double
Remarks

Defaults to 0.

| Improve this Doc View Source

HostPortalID

Gets the Host Portal's PortalId.

Declaration
public static int HostPortalID { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to Null.NullInteger.

| Improve this Doc View Source

HostSpace

Gets the Host Space.

Declaration
public static double HostSpace { get; }
Property Value
Type Description
System.Double
Remarks

Defaults to 0.

| Improve this Doc View Source

HostTitle

Gets the Host Title.

Declaration
public static string HostTitle { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HostURL

Gets the Host URL.

Declaration
public static string HostURL { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HttpCompressionAlgorithm

Gets the HttpCompression Algorithm.

Declaration
public static int HttpCompressionAlgorithm { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to Null.NullInteger(None).

| Improve this Doc View Source

IsLocked

Gets a value indicating whether get a value indicating whether to put the entire instance into maintenance mode.

Declaration
public static bool IsLocked { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

jQueryDebug

Gets a value indicating whether gets whether to use the minified or debug version of the jQuery scripts.

Declaration
public static bool jQueryDebug { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

jQueryHosted

Gets a value indicating whether gets whether to use a hosted version of the jQuery script file.

Declaration
public static bool jQueryHosted { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

jQueryMigrateUrl

Gets the Url for a hosted version of jQuery Migrate plugin.

Declaration
public static string jQueryMigrateUrl { get; }
Property Value
Type Description
System.String
Remarks

Defaults to the DefaultHostedUrl constant in the jQuery class. The framework will default to the latest released 1.x version hosted on Google.

| Improve this Doc View Source

jQueryUIUrl

Gets the Url for a hosted version of jQuery UI.

Declaration
public static string jQueryUIUrl { get; }
Property Value
Type Description
System.String
Remarks

Defaults to the DefaultUIHostedUrl constant in the jQuery class. The framework will default to the latest released 1.x version hosted on Google.

| Improve this Doc View Source

jQueryUrl

Gets the Url for a hosted version of jQuery.

Declaration
public static string jQueryUrl { get; }
Property Value
Type Description
System.String
Remarks

Defaults to the DefaultHostedUrl constant in the jQuery class. The framework will default to the latest released 1.x version hosted on Google.

| Improve this Doc View Source

MembershipDaysBeforePasswordReuse

Gets the number of days that must pass before a password can be reused - default is 0 (i.e. password reuse is only governed by EnablePasswordHistory and MembershipNumberPasswords).

Declaration
public static int MembershipDaysBeforePasswordReuse { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MembershipFailedIPException

Gets the HTTP Status code returned if IP address filtering is enabled on login and the users IP does not meet criteria -default is 403.

Declaration
public static string MembershipFailedIPException { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MembershipNumberPasswords

Gets set number of passwords stored for password change comparison operations - default is 5.

Declaration
public static int MembershipNumberPasswords { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MembershipResetLinkValidity

Gets set length of time (in minutes) that reset links are valid for - default is 60.

Declaration
public static int MembershipResetLinkValidity { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MessageSchedulerBatchSize

Gets size of the batch used to determine how many emails are sent per CoreMessaging Scheduler run.

Declaration
public static int MessageSchedulerBatchSize { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 50.

| Improve this Doc View Source

ModuleCachingMethod

Gets the Module Caching method.

Declaration
public static string ModuleCachingMethod { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PageCachingMethod

Gets the Page Caching method.

Declaration
public static string PageCachingMethod { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PageQuota

Gets the Page Quota.

Declaration
public static int PageQuota { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 0.

| Improve this Doc View Source

PageStatePersister

Gets the PageState Persister.

Declaration
public static string PageStatePersister { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ParticipateInImprovementProg

Gets a value indicating whether gets whether the installation participates in the improvements program.

Declaration
public static bool ParticipateInImprovementProg { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

PasswordExpiry

Gets the Password Expiry.

Declaration
public static int PasswordExpiry { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 0.

| Improve this Doc View Source

PasswordExpiryReminder

Gets the Password Expiry Reminder window.

Declaration
public static int PasswordExpiryReminder { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 7 (1 week).

| Improve this Doc View Source

PaymentProcessor

Gets the Payment Processor.

Declaration
public static string PaymentProcessor { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PerformanceSetting

Gets or sets the PerformanceSettings.

Declaration
public static Globals.PerformanceSettings PerformanceSetting { get; set; }
Property Value
Type Description
Globals.PerformanceSettings
Remarks

Defaults to PerformanceSettings.ModerateCaching.

| Improve this Doc View Source

ProcessorPassword

Gets the Payment Processor Password.

Declaration
public static string ProcessorPassword { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProcessorUserId

Gets the Payment Processor User Id.

Declaration
public static string ProcessorUserId { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProxyPassword

Gets the Proxy Server Password.

Declaration
public static string ProxyPassword { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProxyPort

Gets the Proxy Server Port.

Declaration
public static int ProxyPort { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ProxyServer

Gets the Proxy Server.

Declaration
public static string ProxyServer { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProxyUsername

Gets the Proxy Server UserName.

Declaration
public static string ProxyUsername { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RememberCheckbox

Gets a value indicating whether gets whether to use the remember me checkbox.

Declaration
public static bool RememberCheckbox { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

SchedulerdelayAtAppStart

Gets the delayAtAppStart value.

Declaration
public static int SchedulerdelayAtAppStart { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults is 1 min(60 sec).

| Improve this Doc View Source

SchedulerMode

Gets the Scheduler Mode.

Declaration
public static SchedulerMode SchedulerMode { get; }
Property Value
Type Description
SchedulerMode
Remarks

Defaults to SchedulerMode.TIMER_METHOD.

| Improve this Doc View Source

SearchIncludeCommon

Gets a value indicating whether gets whether to inlcude Common Words in the Search Index.

Declaration
public static bool SearchIncludeCommon { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

SearchIncludedTagInfoFilter

Gets the filter used for inclusion of tag info.

Declaration
public static string SearchIncludedTagInfoFilter { get; }
Property Value
Type Description
System.String
Remarks

Defaults to "".

| Improve this Doc View Source

SearchIncludeNumeric

Gets a value indicating whether gets whether to inlcude Numbers in the Search Index.

Declaration
public static bool SearchIncludeNumeric { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

SearchMaxWordlLength

Gets the maximum Search Word length to index.

Declaration
public static int SearchMaxWordlLength { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 25.

| Improve this Doc View Source

SearchMinWordlLength

Gets the maximum Search Word length to index.

Declaration
public static int SearchMinWordlLength { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 3.

| Improve this Doc View Source

ShowCriticalErrors

Gets a value indicating whether display the text of errors injected via the error querystring parameter.

Declaration
public static bool ShowCriticalErrors { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SiteLogBuffer

Gets the Site Log Buffer size.

Declaration
public static int SiteLogBuffer { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 1.

| Improve this Doc View Source

SiteLogHistory

Gets the Site Log History.

Declaration
public static int SiteLogHistory { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to -1.

| Improve this Doc View Source

SiteLogStorage

Gets the Site Log Storage location.

Declaration
public static string SiteLogStorage { get; }
Property Value
Type Description
System.String
Remarks

Defaults to "D".

| Improve this Doc View Source

SMTPAuthentication

Gets the SMTP Authentication.

Declaration
public static string SMTPAuthentication { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SMTPConnectionLimit

Gets the SMTP Connection Limit.

Declaration
public static int SMTPConnectionLimit { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SMTPMaxIdleTime

Gets the SMTP MaxIdleTime.

Declaration
public static int SMTPMaxIdleTime { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SMTPPassword

Gets the SMTP Password.

Declaration
public static string SMTPPassword { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SMTPServer

Gets the SMTP Server.

Declaration
public static string SMTPServer { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SMTPUsername

Gets the SMTP Username.

Declaration
public static string SMTPUsername { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SslDomain

Gets the domain used when upgrade wizard forced to shown in ssl channel.

Declaration
public static string SslDomain { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TelerikCdnBasicUrl

Gets get Telerik CDN Basic Path.

Declaration
public static string TelerikCdnBasicUrl { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TelerikCdnSecureUrl

Gets get Telerik CDN Secure Path.

Declaration
public static string TelerikCdnSecureUrl { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ThrowCBOExceptions

Gets a value indicating whether gets whether Exceptions are rethrown.

Declaration
public static bool ThrowCBOExceptions { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

UnauthenticatedCacheability

Declaration
public static string UnauthenticatedCacheability { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UpgradeForceSsl

Gets a value indicating whether whether force upgrade wizard open in ssl channel.

Declaration
public static bool UpgradeForceSsl { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

UseCustomErrorMessages

Gets a value indicating whether gets whether Custom Error Messages is Enabled.

Declaration
public static bool UseCustomErrorMessages { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

UseFriendlyUrls

Gets a value indicating whether gets whether Friendly Urls is Enabled.

Declaration
public static bool UseFriendlyUrls { get; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to False.

| Improve this Doc View Source

UserQuota

Gets the User Quota.

Declaration
public static int UserQuota { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 0.

| Improve this Doc View Source

UsersOnlineTimeWindow

Gets the window to use in minutes when determining if the user is online.

Declaration
public static int UsersOnlineTimeWindow { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 15.

| Improve this Doc View Source

WebRequestTimeout

Gets the WebRequest Timeout value.

Declaration
public static int WebRequestTimeout { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 10000.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS