Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Packages.Package.MustUpgradeAsync Method

Returns whether an upgrade is forced (even on deployed systems).

Class: YetaWF.Core.Packages.Package
Namespace: YetaWF.Core.Packages
Assembly: YetaWF.Core

Syntax

public static Task<bool> MustUpgradeAsync();

Return Value

Returns true if an upgrade is forced, false otherwise.

Remarks

During application startup, an upgrade of all installable models can be forced by placing an empty file named UpdateIndicator.txt into the root folder of the website.

See Also YetaWF.Core.Packages.Package ClassYetaWF.Core Overview