Hide

YetaWF.Caching Package Documentation

Display
Print

YetaWF.Modules.Caching.Startup.Application Class

An instance of this class is instantiated during application startup and registers all low-level data providers for file and folder I/O, caching and locking.

Depending on appsettings.json settings, low-level data providers for single- or multi-instance sites are used.

Applications do not access these low-level data providers directly. Caching and locking services provided by YetaWF.Core.IO.Caching and file system services provided by YetaWF.Core.IO.FileSystem, YetaWF.Core.IO.DataFilesProvider and YetaWF.Core.IO.FileIO<TObj> should be used instead.

Namespace: YetaWF.Modules.Caching.Startup
Assembly: YetaWF.Caching

Inheritance

Syntax

public class Application : YetaWF.Core.Support.IInitializeApplicationStartup,
    YetaWF.Core.Support.IInitializeApplicationStartupFirstNodeOnly;

Constructors

PublicApplicationConstructor.

Methods

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.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicInitializeApplicationStartupAsyncCalled when any node of a (single- or multi-instance) site is starting up.
PublicInitializeFirstNodeStartupAsyncCalled when the first node of a multi-instance site is starting up.
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.Caching PackageYetaWF.Core