Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.Startup Class

This class is used during application startup to initialize packages, perform startup processing and initialize local/shared caching and provides information about the site configuration (i.e., web farm, web garden).

Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core

Inheritance

Syntax

public static class Startup;

Constructors

This class cannot be instantiated.

Properties

PublicStaticLANGUAGESETTINGSReturns the name of the LanguageSettings file, based on the current environment.
PublicStaticMultiInstanceDefines whether this is a multi-instance site (i.e., web farm, web garden) using cache sharing/file system sharing.
PublicStaticMultiInstanceStartTimeThe date/time when the single-instance site or the first node of a multi-instance site was started.
PublicStaticRestartPendingDefines whether a site restart is pending due to configuration changes.
PublicStaticRunningInContainerReturns whether the application is running in a container (Docker).
PublicStaticStartedDefines whether the current site instance has been fully initialized.

Fields

PublicStaticFirstNodeIndicatorThe name of the file marker indicating that the first node is starting.

Methods

PublicStaticCallStartupClassesAsyncCalled during application startup to initialize all packages, local/shared caching and first node initialization.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicStaticGetEnvironmentFileReturns a file name composed of the current environment and debug/release build, probing for existing files.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also YetaWF.Core Overview