Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore 10.0.0-rc.2.25502.107

Prefix Reserved
This is a prerelease version of Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore --version 10.0.0-rc.2.25502.107
                    
NuGet\Install-Package Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore -Version 10.0.0-rc.2.25502.107
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="10.0.0-rc.2.25502.107" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="10.0.0-rc.2.25502.107" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore --version 10.0.0-rc.2.25502.107
                    
#r "nuget: Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore, 10.0.0-rc.2.25502.107"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore@10.0.0-rc.2.25502.107
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore&version=10.0.0-rc.2.25502.107&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore&version=10.0.0-rc.2.25502.107&prerelease
                    
Install as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (110)

Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore:

Package Downloads
Reo.Core.Database

Package Description

Aspire.Npgsql.EntityFrameworkCore.PostgreSQL

A PostgreSQL® provider for Entity Framework Core that integrates with Aspire, including connection pooling, health checks, logging, and telemetry.

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.

Reo.Core.Testing

Package Description

FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

GitHub repositories (56)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore:

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
jasontaylordev/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
ivanpaulovich/clean-architecture-manga
:cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
skoruba/IdentityServer4.Admin
The administration for the IdentityServer4 and Asp.Net Core Identity
vietnam-devs/coolstore-microservices
A full-stack .NET microservices build on Dapr and Tye
Squidex/squidex
Headless CMS and Content Managment Hub
featbit/featbit
Enterprise-grade feature flag platform that you can self-host. Get started - free.
fullstackproltd/AspNetCoreSpa
Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
bitfoundation/bitplatform
Build all of your apps using what you already know and love ❤️
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
Amitpnk/Onion-architecture-ASP.NET-Core
WhiteApp API solution template which is built on Onion Architecture with all essential feature using .NET 8!
ntxinh/AspNetCore-DDD
Full ASP.NET Core 8.0 LTS application with DDD, CQRS and Event Sourcing
markjprice/cs10dotnet6
Repository for the Packt Publishing book titled "C# 10 and .NET 6 - Modern Cross-Platform Development" by Mark J. Price
BehzadDara/SampleProject
markjprice/cs12dotnet8
Repository for the Packt Publishing book titled "C# 12 and .NET 8 - Modern Cross-Platform Development Fundamentals" by Mark J. Price
Aguafrommars/TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
iayti/CleanArchitecture
ASP.NET Core 6 Web API Clean Architecture Solution Template
Version Downloads Last Updated
10.0.0 108,287 11/11/2025
10.0.0-rc.2.25502.107 10,342 10/14/2025
10.0.0-rc.1.25451.107 15,107 9/9/2025
10.0.0-preview.7.25380.108 1,716 8/12/2025
10.0.0-preview.6.25358.103 543 7/15/2025
10.0.0-preview.5.25277.114 506 6/6/2025
10.0.0-preview.4.25258.110 593 5/12/2025
10.0.0-preview.3.25172.1 501 4/10/2025
10.0.0-preview.2.25164.1 431 3/18/2025
10.0.0-preview.1.25120.3 534 2/25/2025
9.0.11 61,622 11/11/2025
9.0.10 390,283 10/14/2025
9.0.9 1,037,987 9/9/2025
9.0.8 526,281 8/5/2025
9.0.7 939,065 7/8/2025
9.0.6 557,678 6/10/2025
9.0.5 652,930 5/13/2025
9.0.4 1,331,739 4/8/2025
9.0.3 651,450 3/11/2025
9.0.2 842,263 2/11/2025
9.0.1 564,930 1/14/2025
9.0.0 1,004,259 11/12/2024
9.0.0-rc.2.24474.3 18,620 10/8/2024
9.0.0-rc.1.24452.1 4,925 9/10/2024
9.0.0-preview.7.24406.2 753 8/13/2024
9.0.0-preview.6.24328.4 1,378 7/9/2024
9.0.0-preview.5.24306.11 578 6/11/2024
9.0.0-preview.4.24267.6 391 5/21/2024
9.0.0-preview.3.24172.13 73,446 4/11/2024
9.0.0-preview.2.24128.4 1,381 3/12/2024
9.0.0-preview.1.24081.5 21,067 2/13/2024
8.0.22 51,617 11/11/2025
8.0.21 182,113 10/14/2025
8.0.20 325,341 9/9/2025
8.0.19 326,035 8/4/2025
8.0.18 296,936 7/8/2025
8.0.17 476,147 6/10/2025
8.0.16 372,404 5/13/2025
8.0.15 793,678 4/8/2025
8.0.14 1,388,407 3/11/2025
8.0.13 681,588 2/11/2025
8.0.12 1,011,365 1/14/2025
8.0.11 3,150,432 11/12/2024
8.0.10 2,955,240 10/8/2024
8.0.8 3,049,684 8/13/2024
8.0.7 2,137,325 7/9/2024
8.0.6 1,963,951 5/28/2024
8.0.5 788,212 5/14/2024
8.0.4 2,257,989 4/9/2024
8.0.3 1,355,699 3/12/2024
8.0.2 1,550,941 2/13/2024
8.0.1 1,866,697 1/9/2024
8.0.0 3,002,429 11/14/2023
8.0.0-rc.2.23480.2 17,443 10/10/2023
8.0.0-rc.1.23421.29 13,624 9/12/2023
8.0.0-preview.7.23375.9 18,613 8/8/2023
8.0.0-preview.6.23329.11 6,998 7/11/2023
8.0.0-preview.5.23302.2 3,544 6/13/2023
8.0.0-preview.4.23260.4 866 5/16/2023
8.0.0-preview.3.23177.8 2,630 4/11/2023
8.0.0-preview.2.23153.2 581 3/14/2023
8.0.0-preview.1.23112.2 51,224 2/21/2023
7.0.20 221,556 5/28/2024
7.0.19 27,904 5/14/2024
7.0.18 96,144 4/9/2024
7.0.17 291,558 3/12/2024
7.0.16 236,617 2/13/2024
7.0.15 254,279 1/9/2024
7.0.14 558,567 11/14/2023
7.0.13 443,874 10/24/2023
7.0.12 366,407 10/10/2023
7.0.11 609,435 9/12/2023
7.0.10 544,720 8/8/2023
7.0.9 497,777 7/11/2023
7.0.8 643,270 6/22/2023
7.0.7 254,264 6/13/2023
7.0.5 1,526,976 4/11/2023
7.0.4 510,653 3/14/2023
7.0.3 852,220 2/14/2023
7.0.2 720,829 1/10/2023
7.0.1 265,041 12/13/2022
7.0.0 418,458 11/7/2022
7.0.0-rc.2.22476.2 4,525 10/11/2022
7.0.0-rc.1.22427.2 2,889 9/14/2022
7.0.0-preview.7.22376.6 2,974 8/9/2022
7.0.0-preview.6.22330.3 1,342 7/12/2022
7.0.0-preview.5.22303.8 959 6/14/2022
7.0.0-preview.4.22251.1 4,405 5/10/2022
7.0.0-preview.3.22178.4 2,670 4/13/2022
7.0.0-preview.2.22153.2 536 3/14/2022
7.0.0-preview.1.22109.13 640 2/17/2022
6.0.36 240,793 11/12/2024
6.0.35 110,389 10/8/2024
6.0.33 144,808 8/13/2024
6.0.32 163,375 7/9/2024
6.0.31 136,679 5/28/2024
6.0.30 68,658 5/14/2024
6.0.29 224,269 4/9/2024
6.0.28 152,402 3/12/2024
6.0.27 320,596 2/13/2024
6.0.26 370,928 1/9/2024
6.0.25 612,292 11/14/2023
6.0.24 289,335 10/24/2023
6.0.23 179,313 10/10/2023
6.0.22 462,160 9/12/2023
6.0.21 495,573 8/8/2023
6.0.20 413,709 7/11/2023
6.0.19 283,528 6/22/2023
6.0.18 163,636 6/13/2023
6.0.16 1,098,025 4/11/2023
6.0.15 757,080 3/14/2023
6.0.14 555,580 2/14/2023
6.0.13 893,984 1/10/2023
6.0.12 850,520 12/13/2022
6.0.11 957,358 11/7/2022
6.0.10 1,954,653 10/11/2022
6.0.9 1,354,850 9/13/2022
6.0.8 1,602,388 8/9/2022
6.0.7 1,683,017 7/12/2022
6.0.6 1,498,479 6/14/2022
6.0.5 1,908,682 5/10/2022
6.0.4 931,125 4/11/2022
6.0.3 1,675,708 3/8/2022
6.0.2 869,376 2/8/2022
6.0.1 1,723,865 12/14/2021
6.0.0 1,676,543 11/8/2021
6.0.0-rc.2.21480.10 11,773 10/12/2021
6.0.0-rc.1.21452.15 5,639 9/14/2021
6.0.0-preview.7.21378.6 11,718 8/10/2021
6.0.0-preview.6.21355.2 1,560 7/14/2021
6.0.0-preview.5.21301.17 17,198 6/15/2021
6.0.0-preview.4.21253.5 1,096 5/24/2021
6.0.0-preview.3.21201.13 1,322 4/8/2021
6.0.0-preview.2.21154.6 1,079 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 1,417 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 545,632 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 201,654 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 119,292 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 84,486 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 238,210 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 347,068 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 804,005 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 554,525 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 604,810 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 394,882 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 839,305 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 665,949 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 869,841 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 359,498 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 434,518 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 543,176 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 539,583 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 565,042 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 5,143 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 4,292 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 3,223 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 1,575 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 1,049 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 1,621 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 1,157 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 1,077 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 1,255 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 4,068 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 178,649 12/13/2022
3.1.31 18,837 11/8/2022
3.1.30 27,785 10/11/2022
3.1.29 24,700 9/13/2022
3.1.28 28,399 8/9/2022
3.1.27 57,040 7/12/2022
3.1.26 41,707 6/14/2022
3.1.25 45,205 5/10/2022
3.1.24 58,308 4/11/2022
3.1.23 91,046 3/8/2022
3.1.22 223,148 12/14/2021
3.1.21 97,140 11/7/2021
3.1.20 55,534 10/11/2021
3.1.19 90,550 9/14/2021
3.1.18 161,819 8/10/2021
3.1.17 181,066 7/13/2021
3.1.16 228,202 6/8/2021
3.1.15 131,371 5/11/2021
3.1.14 81,475 4/6/2021
3.1.13 141,445 3/9/2021
3.1.12 260,506 2/9/2021
3.1.11 169,810 1/12/2021
3.1.10 541,932 11/9/2020
3.1.9 922,803 10/13/2020
3.1.8 876,776 9/8/2020
3.1.7 511,327 8/11/2020
3.1.6 486,482 7/14/2020
3.1.5 539,924 6/9/2020
3.1.4 569,421 5/12/2020
3.1.3 774,794 3/24/2020
3.1.2 645,355 2/18/2020
3.1.1 620,531 1/14/2020
3.1.0 738,023 12/3/2019
3.1.0-preview3.19555.2 2,747 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 800 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,000 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 20,772 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 15,216 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 288,455 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 1,654 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 1,669 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 21,147 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 1,472 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 1,380 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 104,415 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 1,382 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 856 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 860 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 848 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.2.0 3,087,718 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 4,965 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.