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+45c8d9adb5970d727cceec44a5ed61aea0016e50
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