Go to file
Ryan Nowak 3e4a3d0b90
Allow health checks to use any DI lifetime (#466)
* Allow health checks to use any DI lifetime

This change allows registered IHealthCheck implementations to use any DI
lifetime. This is necessary for scenarios like using EF which requires a
scope.

The works by having the health check service create a scope for each
time it queries health checks. This scope does not overlap or share
state with other scopes (the request scope) so there is no crosstalk
between processing going on per-request in ASP.NET Core and the health
check operation.

* PR feedback and some logging cleanup
2018-08-30 10:51:48 -07:00
.vsts-pipelines/builds
build Allow health checks to use any DI lifetime (#466) 2018-08-30 10:51:48 -07:00
samples Allow health checks to use any DI lifetime (#466) 2018-08-30 10:51:48 -07:00
src Allow health checks to use any DI lifetime (#466) 2018-08-30 10:51:48 -07:00
test Allow health checks to use any DI lifetime (#466) 2018-08-30 10:51:48 -07:00
.appveyor.yml
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
DiagnosticsPages.sln
Directory.Build.props
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-08-12 19:10:01 +00:00
korebuild.json
run.cmd
run.ps1
run.sh
version.props Update package branding for 2.2.0-preview2 2018-08-21 13:33:49 -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.