Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore
10.0.0-preview.3.25172.1
Prefix Reserved
dotnet add package Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore --version 10.0.0-preview.3.25172.1
NuGet\Install-Package Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore -Version 10.0.0-preview.3.25172.1
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="10.0.0-preview.3.25172.1" />
<PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="10.0.0-preview.3.25172.1" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" />
paket add Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore --version 10.0.0-preview.3.25172.1
#r "nuget: Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore, 10.0.0-preview.3.25172.1"
#addin nuget:?package=Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore&version=10.0.0-preview.3.25172.1&prerelease
#tool nuget:?package=Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore&version=10.0.0-preview.3.25172.1&prerelease
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. |
-
net10.0
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.0-preview.3.25171.6)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.0-preview.3.25172.1)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.0-preview.3.25172.1)
NuGet packages (94)
Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore:
Package | Downloads |
---|---|
Reo.Core.Database
Package Description |
|
Reo.Core.Testing
Package Description |
|
FenixAlliance.ACL.Dependencies
Application Component for the Alliance Business Suite. |
|
Be.Vlaanderen.Basisregisters.Api
Common API infrastructure and helpers. |
|
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL
A PostgreSQL® provider for Entity Framework Core that integrates with Aspire, including connection pooling, health checks, logging, and telemetry. |
GitHub repositories (54)
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
|
|
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
|
|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
|
jasontaylordev/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
|
|
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
|
|
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:
|
|
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
|
|
Amitpnk/Onion-architecture-ASP.NET-Core
WhiteApp API solution template which is built on Onion Architecture with all essential feature using .NET 8!
|
|
markjprice/cs10dotnet6
Repository for the Packt Publishing book titled "C# 10 and .NET 6 - Modern Cross-Platform Development" by Mark J. Price
|
|
mehdihadeli/food-delivery-microservices
🍔 A practical and imaginary food delivery microservices, built with .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
|
ntxinh/AspNetCore-DDD
Full ASP.NET Core 8.0 LTS application with DDD, CQRS and Event Sourcing
|
|
BehzadDara/SampleProject
|
|
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
|
|
markjprice/cs12dotnet8
Repository for the Packt Publishing book titled "C# 12 and .NET 8 - Modern Cross-Platform Development Fundamentals" by Mark J. Price
|
Version | Downloads | Last updated | |
---|---|---|---|
10.0.0-preview.3.25172.1 | 154 | 4/10/2025 | |
10.0.0-preview.2.25164.1 | 340 | 3/18/2025 | |
10.0.0-preview.1.25120.3 | 437 | 2/25/2025 | |
9.0.4 | 16,562 | 4/8/2025 | |
9.0.3 | 201,121 | 3/11/2025 | |
9.0.2 | 392,239 | 2/11/2025 | |
9.0.1 | 328,147 | 1/14/2025 | |
9.0.0 | 580,659 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 16,395 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 4,807 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 490 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 1,093 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 369 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 296 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 73,310 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 1,120 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 20,823 | 2/13/2024 | |
8.0.15 | 10,478 | 4/8/2025 | |
8.0.14 | 198,397 | 3/11/2025 | |
8.0.13 | 237,493 | 2/11/2025 | |
8.0.12 | 374,025 | 1/14/2025 | |
8.0.11 | 1,706,707 | 11/12/2024 | |
8.0.10 | 1,708,510 | 10/8/2024 | |
8.0.8 | 2,194,167 | 8/13/2024 | |
8.0.7 | 1,464,010 | 7/9/2024 | |
8.0.6 | 1,543,550 | 5/28/2024 | |
8.0.5 | 560,008 | 5/14/2024 | |
8.0.4 | 1,856,125 | 4/9/2024 | |
8.0.3 | 1,075,103 | 3/12/2024 | |
8.0.2 | 1,194,225 | 2/13/2024 | |
8.0.1 | 1,267,221 | 1/9/2024 | |
8.0.0 | 2,068,729 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 17,203 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 12,297 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 17,755 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 6,749 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 3,412 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 752 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 2,350 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 474 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 51,119 | 2/21/2023 | |
7.0.20 | 137,723 | 5/28/2024 | |
7.0.19 | 14,416 | 5/14/2024 | |
7.0.18 | 70,001 | 4/9/2024 | |
7.0.17 | 271,967 | 3/12/2024 | |
7.0.16 | 199,638 | 2/13/2024 | |
7.0.15 | 224,739 | 1/9/2024 | |
7.0.14 | 528,092 | 11/14/2023 | |
7.0.13 | 407,394 | 10/24/2023 | |
7.0.12 | 335,450 | 10/10/2023 | |
7.0.11 | 578,632 | 9/12/2023 | |
7.0.10 | 503,193 | 8/8/2023 | |
7.0.9 | 469,932 | 7/11/2023 | |
7.0.8 | 597,740 | 6/22/2023 | |
7.0.7 | 200,753 | 6/13/2023 | |
7.0.5 | 1,476,287 | 4/11/2023 | |
7.0.4 | 483,130 | 3/14/2023 | |
7.0.3 | 669,065 | 2/14/2023 | |
7.0.2 | 683,608 | 1/10/2023 | |
7.0.1 | 242,148 | 12/13/2022 | |
7.0.0 | 374,763 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 4,408 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 2,742 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 2,841 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 1,209 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 824 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 4,281 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 2,527 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 396 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 495 | 2/17/2022 | |
6.0.36 | 63,000 | 11/12/2024 | |
6.0.35 | 80,399 | 10/8/2024 | |
6.0.33 | 105,667 | 8/13/2024 | |
6.0.32 | 116,031 | 7/9/2024 | |
6.0.31 | 106,422 | 5/28/2024 | |
6.0.30 | 46,076 | 5/14/2024 | |
6.0.29 | 185,140 | 4/9/2024 | |
6.0.28 | 119,047 | 3/12/2024 | |
6.0.27 | 269,096 | 2/13/2024 | |
6.0.26 | 342,529 | 1/9/2024 | |
6.0.25 | 558,121 | 11/14/2023 | |
6.0.24 | 258,691 | 10/24/2023 | |
6.0.23 | 159,291 | 10/10/2023 | |
6.0.22 | 428,092 | 9/12/2023 | |
6.0.21 | 442,942 | 8/8/2023 | |
6.0.20 | 361,417 | 7/11/2023 | |
6.0.19 | 256,744 | 6/22/2023 | |
6.0.18 | 146,787 | 6/13/2023 | |
6.0.16 | 1,007,203 | 4/11/2023 | |
6.0.15 | 631,659 | 3/14/2023 | |
6.0.14 | 514,155 | 2/14/2023 | |
6.0.13 | 825,803 | 1/10/2023 | |
6.0.12 | 746,357 | 12/13/2022 | |
6.0.11 | 906,144 | 11/7/2022 | |
6.0.10 | 1,881,852 | 10/11/2022 | |
6.0.9 | 1,257,654 | 9/13/2022 | |
6.0.8 | 1,536,050 | 8/9/2022 | |
6.0.7 | 1,612,387 | 7/12/2022 | |
6.0.6 | 1,428,790 | 6/14/2022 | |
6.0.5 | 1,838,543 | 5/10/2022 | |
6.0.4 | 901,478 | 4/11/2022 | |
6.0.3 | 1,595,943 | 3/8/2022 | |
6.0.2 | 836,334 | 2/8/2022 | |
6.0.1 | 1,633,572 | 12/14/2021 | |
6.0.0 | 1,536,903 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 11,136 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 5,433 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 10,834 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 1,413 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 17,053 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 882 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 1,180 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 871 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 1,176 | 2/12/2021 | |
5.0.17 | 491,755 | 5/10/2022 | |
5.0.16 | 179,334 | 4/11/2022 | |
5.0.15 | 107,052 | 3/8/2022 | |
5.0.14 | 73,811 | 2/8/2022 | |
5.0.13 | 223,781 | 12/14/2021 | |
5.0.12 | 319,425 | 11/7/2021 | |
5.0.11 | 773,729 | 10/12/2021 | |
5.0.10 | 532,433 | 9/14/2021 | |
5.0.9 | 585,488 | 8/10/2021 | |
5.0.8 | 374,473 | 7/13/2021 | |
5.0.7 | 796,220 | 6/8/2021 | |
5.0.6 | 631,858 | 5/11/2021 | |
5.0.5 | 841,183 | 4/6/2021 | |
5.0.4 | 341,892 | 3/9/2021 | |
5.0.3 | 411,014 | 2/9/2021 | |
5.0.2 | 527,004 | 1/12/2021 | |
5.0.1 | 519,919 | 12/8/2020 | |
5.0.0 | 536,142 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 4,801 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 4,048 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 2,995 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 1,357 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 820 | 6/25/2020 | |
5.0.0-preview.5.20279.2 | 1,394 | 6/10/2020 | |
5.0.0-preview.4.20257.10 | 933 | 5/18/2020 | |
5.0.0-preview.3.20215.14 | 857 | 4/23/2020 | |
5.0.0-preview.2.20167.3 | 1,025 | 4/2/2020 | |
5.0.0-preview.1.20124.5 | 3,845 | 3/16/2020 | |
3.1.32 | 146,437 | 12/13/2022 | |
3.1.31 | 8,870 | 11/8/2022 | |
3.1.30 | 17,470 | 10/11/2022 | |
3.1.29 | 14,272 | 9/13/2022 | |
3.1.28 | 18,169 | 8/9/2022 | |
3.1.27 | 46,385 | 7/12/2022 | |
3.1.26 | 29,545 | 6/14/2022 | |
3.1.25 | 34,718 | 5/10/2022 | |
3.1.24 | 48,536 | 4/11/2022 | |
3.1.23 | 80,695 | 3/8/2022 | |
3.1.22 | 199,406 | 12/14/2021 | |
3.1.21 | 85,094 | 11/7/2021 | |
3.1.20 | 44,749 | 10/11/2021 | |
3.1.19 | 80,109 | 9/14/2021 | |
3.1.18 | 150,260 | 8/10/2021 | |
3.1.17 | 164,973 | 7/13/2021 | |
3.1.16 | 217,591 | 6/8/2021 | |
3.1.15 | 119,666 | 5/11/2021 | |
3.1.14 | 69,851 | 4/6/2021 | |
3.1.13 | 129,298 | 3/9/2021 | |
3.1.12 | 246,673 | 2/9/2021 | |
3.1.11 | 157,113 | 1/12/2021 | |
3.1.10 | 525,072 | 11/9/2020 | |
3.1.9 | 858,206 | 10/13/2020 | |
3.1.8 | 855,111 | 9/8/2020 | |
3.1.7 | 491,528 | 8/11/2020 | |
3.1.6 | 465,456 | 7/14/2020 | |
3.1.5 | 524,025 | 6/9/2020 | |
3.1.4 | 550,864 | 5/12/2020 | |
3.1.3 | 755,986 | 3/24/2020 | |
3.1.2 | 629,752 | 2/18/2020 | |
3.1.1 | 598,931 | 1/14/2020 | |
3.1.0 | 703,220 | 12/3/2019 | |
3.1.0-preview3.19555.2 | 2,428 | 11/13/2019 | |
3.1.0-preview2.19528.8 | 583 | 11/1/2019 | |
3.1.0-preview1.19508.20 | 786 | 10/15/2019 | |
3.0.3 | 9,717 | 2/18/2020 | |
3.0.2 | 5,449 | 1/14/2020 | |
3.0.0 | 276,087 | 9/23/2019 | |
3.0.0-rc1.19457.4 | 1,436 | 9/16/2019 | |
3.0.0-preview9.19424.4 | 1,460 | 9/4/2019 | |
3.0.0-preview8.19405.7 | 19,763 | 8/13/2019 | |
3.0.0-preview7.19365.7 | 1,248 | 7/23/2019 | |
3.0.0-preview6.19307.2 | 1,174 | 6/12/2019 | |
3.0.0-preview5-19227-01 | 96,964 | 5/6/2019 | |
3.0.0-preview4-19216-03 | 1,152 | 4/18/2019 | |
3.0.0-preview3-19153-02 | 641 | 3/6/2019 | |
3.0.0-preview-19075-0444 | 630 | 1/29/2019 | |
3.0.0-preview-18579-0056 | 627 | 12/3/2018 | |
2.2.0 | 2,961,554 | 12/3/2018 | |
2.2.0-preview3-35497 | 3,699 | 10/17/2018 |