Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore 10.0.0-preview.7.25380.108

About

Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore provides components for performing health checks using Entity Framework Core (EF Core).

How to Use

To use Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore, follow these steps:

Installation

dotnet add package Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore

Configuration

To add a health check for an EF Core DbContext, use the AddDbContextCheck extension method to configure it with your app's service provider. Here's an example:

builder.Services.AddDbContext<SampleDbContext>(options =>
    options.UseSqlServer(builder.Configuration.GetConnectionString("DefaultConnection")));

builder.Services.AddHealthChecks()
    .AddDbContextCheck<SampleDbContext>();

Additional Documentation

For additional documentation and examples, refer to the official documentation on using the Entity Framework Core DbContext probe.

Feedback & Contributing

Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore.

Packages Downloads
Aspire.Microsoft.EntityFrameworkCore.SqlServer
A Microsoft SQL Server provider for Entity Framework Core that integrates with Aspire, including connection pooling, health check, logging, and telemetry.
13
Aspire.Microsoft.EntityFrameworkCore.SqlServer
A Microsoft SQL Server provider for Entity Framework Core that integrates with Aspire, including connection pooling, health check, logging, and telemetry.
12
Aspire.Microsoft.EntityFrameworkCore.SqlServer
A Microsoft SQL Server provider for Entity Framework Core that integrates with Aspire, including connection pooling, health check, logging, and telemetry.
11
Skoruba.IdentityServer4.Admin.UI
The package with UI for the administration of the IdentityServer4
9
Skoruba.IdentityServer4.Admin.UI
The package with UI for the administration of the IdentityServer4
8
Aspire.Microsoft.EntityFrameworkCore.SqlServer
A Microsoft SQL Server provider for Entity Framework Core that integrates with Aspire, including connection pooling, health check, logging, and telemetry.
7
Skoruba.IdentityServer4.Admin.UI
The package with UI for the administration of the IdentityServer4
7
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL
A PostgreSQL® provider for Entity Framework Core that integrates with Aspire, including connection pooling, health checks, logging, and telemetry.
6
Aspire.Microsoft.EntityFrameworkCore.SqlServer
A Microsoft SQL Server provider for Entity Framework Core that integrates with Aspire, including connection pooling, health check, logging, and telemetry.
6

.NET 10.0

Version Downloads Last updated
10.0.1 1 12/14/2025
10.0.0 1 11/16/2025
10.0.0-rc.2.25502.107 2 10/19/2025
10.0.0-rc.1.25451.107 3 9/13/2025
10.0.0-preview.7.25380.108 4 8/15/2025
10.0.0-preview.6.25358.103 4 8/9/2025
10.0.0-preview.5.25277.114 2 6/15/2025
10.0.0-preview.4.25258.110 2 6/16/2025
10.0.0-preview.3.25172.1 3 6/16/2025
10.0.0-preview.2.25164.1 2 6/16/2025
10.0.0-preview.1.25120.3 4 6/16/2025
9.0.11 1 11/17/2025
9.0.10 2 10/21/2025
9.0.9 3 9/14/2025
9.0.8 4 8/10/2025
9.0.7 3 9/14/2025
9.0.6 15 6/16/2025
9.0.5 6 6/18/2025
9.0.4 6 6/16/2025
9.0.3 8 6/16/2025
9.0.2 5 6/16/2025
9.0.1 5 6/16/2025
9.0.0 8 6/16/2025
9.0.0-rc.2.24474.3 8 6/16/2025
9.0.0-rc.1.24452.1 7 6/16/2025
9.0.0-preview.7.24406.2 7 6/16/2025
9.0.0-preview.6.24328.4 5 6/16/2025
9.0.0-preview.5.24306.11 6 6/16/2025
9.0.0-preview.4.24267.6 7 6/8/2025
9.0.0-preview.3.24172.13 6 6/16/2025
9.0.0-preview.2.24128.4 6 6/17/2025
9.0.0-preview.1.24081.5 8 6/16/2025
8.0.22 1 11/17/2025
8.0.21 2 10/21/2025
8.0.20 3 9/14/2025
8.0.19 2 10/21/2025
8.0.18 4 8/10/2025
8.0.17 7 6/16/2025
8.0.16 6 6/17/2025
8.0.15 7 6/16/2025
8.0.14 8 6/16/2025
8.0.13 7 6/10/2025
8.0.12 7 6/16/2025
8.0.11 5 6/16/2025
8.0.10 5 6/16/2025
8.0.8 4 6/16/2025
8.0.7 7 6/16/2025
8.0.6 7 6/16/2025
8.0.5 7 6/16/2025
8.0.4 8 6/16/2025
8.0.3 6 6/16/2025
8.0.2 5 6/16/2025
8.0.1 5 6/16/2025
8.0.0 6 6/16/2025
8.0.0-rc.2.23480.2 7 6/16/2025
8.0.0-rc.1.23421.29 7 6/16/2025
8.0.0-preview.7.23375.9 7 6/16/2025
8.0.0-preview.6.23329.11 5 8/10/2025
8.0.0-preview.5.23302.2 7 6/16/2025
8.0.0-preview.4.23260.4 5 6/16/2025
8.0.0-preview.3.23177.8 6 6/16/2025
8.0.0-preview.2.23153.2 7 6/16/2025
8.0.0-preview.1.23112.2 7 6/16/2025
7.0.20 6 6/16/2025
7.0.19 6 6/16/2025
7.0.18 6 6/16/2025
7.0.17 7 6/16/2025
7.0.16 5 6/16/2025
7.0.15 6 6/16/2025
7.0.14 7 6/16/2025
7.0.13 7 6/7/2025
7.0.12 7 6/16/2025
7.0.11 6 6/13/2025
7.0.10 5 6/16/2025
7.0.9 6 6/16/2025
7.0.8 6 6/16/2025
7.0.7 7 6/16/2025
7.0.5 6 6/17/2025
7.0.4 5 6/6/2025
7.0.3 5 6/16/2025
7.0.2 5 6/16/2025
7.0.1 6 6/16/2025
7.0.0 5 6/16/2025
7.0.0-rc.2.22476.2 7 6/16/2025
7.0.0-rc.1.22427.2 5 6/16/2025
7.0.0-preview.7.22376.6 7 6/7/2025
7.0.0-preview.6.22330.3 7 6/16/2025
7.0.0-preview.5.22303.8 6 6/16/2025
7.0.0-preview.4.22251.1 8 6/16/2025
7.0.0-preview.3.22178.4 7 6/16/2025
7.0.0-preview.2.22153.2 7 6/16/2025
7.0.0-preview.1.22109.13 7 6/16/2025
6.0.36 6 6/16/2025
6.0.35 6 6/17/2025
6.0.33 7 6/16/2025
6.0.32 8 6/16/2025
6.0.31 6 6/16/2025
6.0.30 7 6/16/2025
6.0.29 7 6/16/2025
6.0.28 5 6/16/2025
6.0.27 7 6/8/2025
6.0.26 7 6/16/2025
6.0.25 6 6/16/2025
6.0.24 6 6/16/2025
6.0.23 9 6/16/2025
6.0.22 7 6/12/2025
6.0.21 7 6/16/2025
6.0.20 8 6/16/2025
6.0.19 6 6/16/2025
6.0.18 8 6/14/2025
6.0.16 7 6/16/2025
6.0.15 5 6/16/2025
6.0.14 7 6/16/2025
6.0.13 7 6/10/2025
6.0.12 8 6/16/2025
6.0.11 6 6/16/2025
6.0.10 5 6/12/2025
6.0.9 6 6/17/2025
6.0.8 5 6/16/2025
6.0.7 8 6/16/2025
6.0.6 6 6/16/2025
6.0.5 8 6/16/2025
6.0.4 6 6/16/2025
6.0.3 9 6/16/2025
6.0.2 6 6/8/2025
6.0.1 4 6/16/2025
6.0.0 7 6/16/2025
6.0.0-rc.2.21480.10 7 6/16/2025
6.0.0-rc.1.21452.15 7 6/16/2025
6.0.0-preview.7.21378.6 6 6/13/2025
6.0.0-preview.6.21355.2 7 6/16/2025
6.0.0-preview.5.21301.17 7 6/16/2025
6.0.0-preview.4.21253.5 7 6/16/2025
6.0.0-preview.3.21201.13 4 6/16/2025
6.0.0-preview.2.21154.6 6 6/16/2025
6.0.0-preview.1.21103.6 8 6/16/2025
5.0.17 9 6/16/2025
5.0.16 7 6/16/2025
5.0.15 7 6/16/2025
5.0.14 9 6/16/2025
5.0.13 6 6/16/2025
5.0.12 7 6/16/2025
5.0.11 7 6/16/2025
5.0.10 5 6/16/2025
5.0.9 6 6/16/2025
5.0.8 5 6/16/2025
5.0.7 6 6/16/2025
5.0.6 7 6/16/2025
5.0.5 6 6/16/2025
5.0.4 8 6/16/2025
5.0.3 5 6/16/2025
5.0.2 6 6/16/2025
5.0.1 6 6/16/2025
5.0.0 8 6/16/2025
5.0.0-rc.2.20475.17 8 6/16/2025
5.0.0-rc.1.20451.17 4 6/16/2025
5.0.0-preview.8.20414.8 7 6/16/2025
5.0.0-preview.7.20365.19 7 6/16/2025
5.0.0-preview.6.20312.15 6 6/16/2025
5.0.0-preview.5.20279.2 5 6/16/2025
5.0.0-preview.4.20257.10 6 6/16/2025
5.0.0-preview.3.20215.14 6 6/16/2025
5.0.0-preview.2.20167.3 6 6/16/2025
5.0.0-preview.1.20124.5 5 7/14/2025
3.1.32 8 6/16/2025
3.1.31 8 6/16/2025
3.1.30 6 6/16/2025
3.1.29 6 6/16/2025
3.1.28 6 6/16/2025
3.1.27 6 6/16/2025
3.1.26 7 6/16/2025
3.1.25 8 6/16/2025
3.1.24 7 6/16/2025
3.1.23 7 6/16/2025
3.1.22 7 6/16/2025
3.1.21 6 6/16/2025
3.1.20 6 6/16/2025
3.1.19 8 6/16/2025
3.1.18 7 6/16/2025
3.1.17 5 6/16/2025
3.1.16 7 6/16/2025
3.1.15 8 6/16/2025
3.1.14 6 6/16/2025
3.1.13 7 6/16/2025
3.1.12 7 6/16/2025
3.1.11 5 6/16/2025
3.1.10 7 6/16/2025
3.1.9 8 6/13/2025
3.1.8 6 6/16/2025
3.1.7 7 6/16/2025
3.1.6 6 6/16/2025
3.1.5 6 6/16/2025
3.1.4 7 6/16/2025
3.1.3 10 6/13/2025
3.1.2 5 6/16/2025
3.1.1 8 6/16/2025
3.1.0 6 6/9/2025
3.1.0-preview3.19555.2 8 6/12/2025
3.1.0-preview2.19528.8 5 6/13/2025
3.1.0-preview1.19508.20 5 6/16/2025
3.0.3 6 6/16/2025
3.0.2 6 6/16/2025
3.0.0 7 6/16/2025
3.0.0-rc1.19457.4 6 6/16/2025
3.0.0-preview9.19424.4 6 6/16/2025
3.0.0-preview8.19405.7 6 6/16/2025
3.0.0-preview7.19365.7 6 6/16/2025
3.0.0-preview6.19307.2 7 6/15/2025
3.0.0-preview5-19227-01 8 6/16/2025
3.0.0-preview4-19216-03 6 6/16/2025
3.0.0-preview3-19153-02 7 6/16/2025
3.0.0-preview-19075-0444 6 6/16/2025
3.0.0-preview-18579-0056 8 6/16/2025
2.2.0 5 6/7/2025
2.2.0-preview3-35497 4 6/16/2025