You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore` provides components for performing health checks using Entity Framework Core (EF Core).
4
+
5
+
## How to Use
6
+
7
+
To use `Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore`, follow these steps:
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:
For additional documentation and examples, refer to the [official documentation](https://learn.microsoft.com/aspnet/core/host-and-deploy/health-checks#entity-framework-core-dbcontext-probe) on using the Entity Framework Core `DbContext` probe.
30
+
31
+
## Feedback & Contributing
32
+
33
+
`Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore` is released as open-source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/aspnetcore).
0 commit comments