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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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