Table of Contents

Class HealthController

Namespace
KadicAuth.Api.Controllers
Assembly
KadicAuth.Api.dll
[ApiController]
[AllowAnonymous]
[Route("api/[controller]")]
[Produces("application/json", new string[] { })]
public class HealthController : ControllerBase
Inheritance
object
ControllerBase
HealthController

Constructors

HealthController(ILogger<HealthController>)

public HealthController(ILogger<HealthController> logger)

Parameters

logger ILogger<HealthController>

Methods

HealthCheck()

Health check endpoint

[HttpGet]
[ProducesResponseType(200)]
public ActionResult HealthCheck()

Returns

ActionResult

ReadinessCheck()

Readiness check endpoint

[HttpGet("ready")]
[ProducesResponseType(200)]
public ActionResult ReadinessCheck()

Returns

ActionResult