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
ASP.NET CI
5c8b549882
Update package branding for 2.2.0-preview2
2018-08-21 13:33:49 -07:00
ASP.NET CI
983d7836ab
Update dependencies.props
...
[auto-updated: dependencies]
2018-08-12 19:10:01 +00:00
ASP.NET CI
602faf5baa
Update dependencies.props
...
[auto-updated: dependencies]
2018-08-06 20:33:14 +00:00
ASP.NET CI
701fe39170
Update dependencies.props
...
[auto-updated: dependencies]
2018-08-05 19:10:57 +00:00
Ryan Nowak
d1cba1f55b
Add Database health sample
2018-08-03 15:10:03 -07:00
Ryan Nowak
47f427d5ac
Updating Health Checks for 2.2
...
A bunch of small changes and updates for 2.2 focused at making our main
scenarios more streamlined and focused. Also adds samples for
extensibility we support so far.
A list of changes:
Clearing baselines for these projects. We didn't ship anything in 2.1 so
there should be nothing in the baselines.
--
The middleware now uses Map for path matching. This makes the actual
`HealthCheckMiddleware` more standalone. This will make it easy to use
with Dispatcher/Endpoint Routing in the future.
This also manifests by removing Path from HealthCheckOptions - the path
is an explicit argument to the UseHealthChecks middelware - this
streamlines the design for 3.0.
--
Added extensibility for customizing the status codes (aspnet/Home#2584 )
--
Added extensibility for writing the textual output (aspnet/Home#2583 )
--
Changed the default output to be `text/plain`. The most common use cases
for health checks don't include a detailed status.
The existing output format is still available as an option.
2018-08-01 18:49:44 -07:00
ASP.NET CI
1ace256ad0
Update dependencies.props
...
[auto-updated: dependencies]
2018-07-29 12:09:28 -07:00
ASP.NET CI
4591b4172d
Update dependencies.props
...
[auto-updated: dependencies]
2018-07-22 12:09:40 -07:00
ASP.NET CI
d26d6ddfb1
Update dependencies.props
...
[auto-updated: dependencies]
2018-07-15 12:10:02 -07:00
ASP.NET CI
a5ba2590d5
Update dependencies.props
...
[auto-updated: dependencies]
2018-07-08 12:10:06 -07:00
Nate McMaster
2f8eaa5ea4
Update infrastructure for the 2.2 release
2018-06-28 16:19:26 -07:00
ASP.NET CI
7f463b2793
Update dependencies.props
...
[auto-updated: dependencies]
2018-06-25 11:11:22 -07:00
ASP.NET CI
db3e237144
Update dependencies.props
...
[auto-updated: dependencies]
2018-06-07 19:31:22 +00:00
ASP.NET CI
d8ecc6c967
Update dependencies.props
...
[auto-updated: dependencies]
2018-06-03 19:10:34 +00:00
ASP.NET CI
2f297de232
Update dependencies.props
...
[auto-updated: dependencies]
2018-05-27 19:10:46 +00:00
ASP.NET CI
5f7102a469
Update dependencies.props
...
[auto-updated: dependencies]
2018-05-20 19:27:54 +00:00
ASP.NET CI
8dce01f654
Update dependencies.props
...
[auto-updated: dependencies]
2018-05-13 14:04:40 -07:00
Ryan Brandenburg
519ca4adb0
Upgrade to netcoreapp22
2018-05-07 16:07:07 -07:00
ASP.NET CI
c997fa8365
Update dependencies.props
...
[auto-updated: dependencies]
2018-05-06 12:11:26 -07:00
ASP.NET CI
9cc72f7af1
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-29 12:12:16 -07:00
ASP.NET CI
7b1517f5d0
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-23 12:04:33 -07:00
Nate McMaster
c4d96a4cf5
Merge branch release/2.1 into dev
2018-04-20 15:07:33 -07:00
ASP.NET CI
f572bbc2e8
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-19 22:17:55 -07:00
Nate McMaster
9355e78494
Set NETStandardImplicitPackageVersion via dependencies.props
2018-04-19 16:32:24 -07:00
Ryan Brandenburg
89b25723db
Branching for 2.1.0-rc1
2018-04-16 16:56:01 -07:00
ASP.NET CI
74740db8c2
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-15 14:05:10 -07:00
ASP.NET CI
4694405091
Update dependencies.props
...
[auto-updated: dependencies]
2018-04-03 22:21:58 +00:00
Ajay Bhargav Baaskaran
3b32a32be7
Merge branch 'release/2.1' into dev
2018-03-27 11:05:36 -07:00
Ajay Bhargav Baaskaran
db1bdc7ede
Upgraded dependencies
2018-03-27 11:02:35 -07:00
ASP.NET CI
caa34545ed
Update dependencies.props
...
[auto-updated: dependencies]
2018-03-25 15:34:37 -07:00
Ryan Brandenburg
424c0b0209
Set 2.0 baselines
2018-03-20 11:50:45 -07:00
Pranav K
de20d24b8e
Branching for 2.1.0-preview2
2018-03-16 11:14:00 -07:00
ASP.NET CI
a18c2b69d2
Update dependencies.props
...
[auto-updated: dependencies]
2018-03-08 12:56:20 -08:00
Pranav K
dfb0491728
Use dotnet-core feed in repos
2018-03-06 10:03:15 -08:00
ASP.NET CI
8da9b82ba6
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-26 10:57:44 -08:00
ASP.NET CI
f2726ed0c2
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-18 12:14:04 -08:00
ASP.NET CI
5631890597
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-11 12:19:23 -08:00
ASP.NET CI
5d2fc105d1
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-09 11:38:08 -08:00
ASP.NET CI
6e387d72d2
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-03 02:40:50 +00:00
ASP.NET CI
a1132898d4
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-01 03:02:32 +00:00
ASP.NET CI
d563f7d314
Update dependencies.props
...
[auto-updated: dependencies]
2018-01-04 00:45:30 +00:00
ASP.NET CI
59a479df5a
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-31 20:40:07 +00:00
ASP.NET CI
7b57057af6
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-18 16:38:53 -08:00
ASP.NET CI
846c001d28
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-13 20:25:46 +00:00
ASP.NET CI
b7f22497e6
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-10 12:20:04 -08:00
Pranav K
d2280883d0
Specify runtime versions to install
2017-11-29 14:09:25 -08:00
Pranav K
12f63965df
Replace aspnetcore-ci-dev feed with aspnetcore-dev
2017-11-21 16:27:05 -08:00
Nate McMaster
948c2612ef
Use MSBuild to set NuGet feeds instead of NuGet.config
2017-11-20 12:15:47 -08:00
Pranav K
f731ceb237
Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1
2017-11-17 13:00:24 -08:00