HealthProbeHandler Class

Handles health probes for a service. Azure will ping this service to determine if the container is healthy. The only thing it needs to do is respond back with "Healthy".

Definition

Namespace: MobileTrack.Common.Services
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public class HealthProbeHandler : BackgroundService
Inheritance
Object    BackgroundService    HealthProbeHandler

Constructors

HealthProbeHandler Default constructor.

Methods

ExecuteAsync This method is called when the IHostedService starts. The implementation should return a task that represents the lifetime of the long running operation(s) being performed.
(Overrides BackgroundServiceExecuteAsync(CancellationToken))

See Also