Go to file
Ryan Nowak c802d5ef5f
Redesign HealthStatus (again) (#520)
* Redesign HealthStatus (again)

This change brings back the ability to return Healthy/Degraded/Unhealthy
in a HealthCheckResult. We tried making this pass/fail in 2.2.0-preview3
and folks writing health checks for their own use pointed out (rightly
so) that it was too limited.

It's still possible for the app developer to configure the failure
status of a health check, but it requires the health check author to
cooperate.

I also got rid of HealthStatus.Failed since it raises more questions
than it answers. It's really not clear that it's valuable for a health
check for behave different when throwing an unhandled exception.

We would still recommend that a health check library handle exceptions
that they know about and return `context.Registration.FailureStatus`.
2018-10-31 12:51:14 -07:00
.vsts-pipelines/builds
build Add IHealthCheckPublisher for push-based checks (#498) 2018-10-08 17:58:45 -07:00
samples Redesign HealthStatus (again) (#520) 2018-10-31 12:51:14 -07:00
src Redesign HealthStatus (again) (#520) 2018-10-31 12:51:14 -07:00
test Redesign HealthStatus (again) (#520) 2018-10-31 12:51:14 -07:00
.appveyor.yml
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md Fixed broken link (#504) 2018-10-16 05:04:19 -07:00
DiagnosticsPages.sln
Directory.Build.props
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
build.cmd
build.sh
korebuild-lock.txt
korebuild.json
run.cmd
run.ps1
run.sh
version.props Update package branding for 2.2 RTM 2018-10-16 12:48:13 -07:00

README.md

ASP.NET Core Diagnostics

AppVeyor: AppVeyor

Travis: Travis

Diagnostics middleware for reporting info and handling exceptions and errors in ASP.NET Core, and diagnosing Entity Framework Core migrations errors.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.