Health Check Controller
- Last UpdatedMar 22, 2024
- 1 minute read
This route is used by the agent to check the health of the on-premises application.
C# Example:
[Route("api/[controller]")]
[Authorize]
[ApiController]
public class HealthCheckController : ControllerBase
{
//GET: api/<HealthCheck>
[HttpGet]
public async Task<IActionResult> GetAsync()
{
await Task.Yield();
return Ok();
}
}