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
-
objectControllerBaseHealthController
Constructors
HealthController(ILogger<HealthController>)
public HealthController(ILogger<HealthController> logger)
Parameters
loggerILogger<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