Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 510 Bytes

GiG.Core.HealthChecks.AspNetCore.md

File metadata and controls

20 lines (14 loc) · 510 Bytes

GiG.Core.HealthChecks.AspNetCore

This Library provides an API to register Health Check endpoints using the EndpointRouteBuilder.

Basic Usage

The below code needs to be added to the Startup.cs to register Health Check endpoints.

public void Configure(IApplicationBuilder app)
{           
	 app.UseEndpoints(endpoints => { 
        endpoints.MapHealthChecks();
    });       
}

Configuration

For Configuration details refer to GiG.Core.HealthChecks.