Table of Contents

Interface IInstallationService

Namespace
Oqtane.Services
Assembly
Oqtane.Client.dll

Service to manage (install master database / upgrade version / etc.) the installation

public interface IInstallationService

Methods

Install(InstallConfig)

Starts the installation process

Task<Installation> Install(InstallConfig config)

Parameters

config InstallConfig

connectionString, database type, alias etc.

Returns

Task<Installation>

internal status/message object

IsInstalled()

Returns a status/message object with the current installation state

Task<Installation> IsInstalled()

Returns

Task<Installation>

RestartAsync()

Restarts the installation

Task RestartAsync()

Returns

Task

internal status/message object

Upgrade(bool)

Starts the upgrade process

Task<Installation> Upgrade(bool backup)

Parameters

backup bool

indicates if files should be backed up during upgrade

Returns

Task<Installation>

internal status/message object