MtWebHealthChecker Class

Azure invokes this method to ask Portal if everything is OK. If we return otherwise, Azure will restart the service after a minutes of unhealthy results.

Definition

Namespace: MobileTrack.Web.Components.Services
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public class MtWebHealthChecker : IHealthCheck
Inheritance
Object    MtWebHealthChecker
Implements
IHealthCheck

Constructors

MtWebHealthCheckerInitializes a new instance of the MtWebHealthChecker class

Methods

CheckHealthAsync Runs the health check, returning the status of the component being checked.

See Also