ServiceStatus.cs 509 B

12345678910
  1. namespace WebTemplate.Status;
  2. /// <summary>
  3. /// Overall service status result.
  4. /// </summary>
  5. /// <param name="Status">The value "OK" if everything is OK. Otherwise this service will not actually return a 200
  6. /// HTTP result</param>
  7. /// <param name="Version">Detailed version information</param>
  8. /// <param name="Environment">Collection of environment variables. Only enabled in _Development_ mode</param>
  9. public record ServiceStatus(string Status, VersionInfo Version, EnvironmentInfo Environment);