NetEvolve.HealthChecks.Azure.Tables
5.8.0
Prefix Reserved
See the version list below for details.
dotnet add package NetEvolve.HealthChecks.Azure.Tables --version 5.8.0
NuGet\Install-Package NetEvolve.HealthChecks.Azure.Tables -Version 5.8.0
<PackageReference Include="NetEvolve.HealthChecks.Azure.Tables" Version="5.8.0" />
<PackageVersion Include="NetEvolve.HealthChecks.Azure.Tables" Version="5.8.0" />
<PackageReference Include="NetEvolve.HealthChecks.Azure.Tables" />
paket add NetEvolve.HealthChecks.Azure.Tables --version 5.8.0
#r "nuget: NetEvolve.HealthChecks.Azure.Tables, 5.8.0"
#:package NetEvolve.HealthChecks.Azure.Tables@5.8.0
#addin nuget:?package=NetEvolve.HealthChecks.Azure.Tables&version=5.8.0
#tool nuget:?package=NetEvolve.HealthChecks.Azure.Tables&version=5.8.0
NetEvolve.HealthChecks.Azure.Tables
This package provides a health check for Azure Tables, based on the Azure.Storage.Tables package. The main purpose is to check that the Azure Table Service is reachable and that the client can connect to it.
💡 This package is available for .NET 8.0 and later.
Installation
To use this package, you need to add the package to your project. You can do this by using the NuGet package manager or by using the dotnet CLI.
dotnet add package NetEvolve.HealthChecks.Azure.Tables
Usage
After adding the package, you need to import the namespace NetEvolve.HealthChecks.Azure.Tables and add the health check to the service collection.
using NetEvolve.HealthChecks.Azure.Tables;
Therefore, you can use two different approaches. In both approaches you have to provide a name for the health check.
Health Check - Azure Table Client Availability
The health check is a liveness check. It will check that the Azure Table client is reachable. If the service needs longer than the configured timeout to respond, the health check will return Degraded. If the service is not reachable, the health check will return Unhealthy.
Parameters
name: The name of the health check. The name is used to identify the configuration object. It is required and must be unique within the application.options: The configuration options for the health check. If you don't provide any options, the health check will use the configuration-based approach.tags: The tags for the health check. The tagsazure,storageandtableare always used as default and combined with the user input. You can provide additional tags to group or filter the health checks.
Variant 1: Configuration-based
The first one is to use the configuration-based approach. Therefore, you have to add the configuration section HealthChecks:AzureTableClient to your appsettings.json file.
var builder = services.AddHealthChecks();
builder.AddTableClientAvailability("<name>");
The configuration looks like this:
{
..., // other configuration
"HealthChecks": {
"AzureTableClient": {
"<name>": {
"KeyedService": "<service-key>", // optional, used when multiple clients are registered and `Mode` is `ServiceProvider`
"ConnectionString": "<connection-string>", // required when `Mode` is `ConnectionString`
"Mode": "<client-creation-mode>", // required to specify the client creation mode
"ServiceUri": "<service-uri>", // required when `Mode` is `DefaultAzureCredentials`, `SharedKey` or `AzureSasCredential`
"TableName": "<table-name>", // required
"AccountName": "<account-name>", // required when `Mode` is `SharedKey`
"AccountKey": "<account-key>", // required when `Mode` is `SharedKey`
"Timeout": "<timeout>" // optional, default is 100 milliseconds
}
}
}
}
Variant 2: Options-based
The second one is to use the options-based approach. Therefore, you have to create an instance of TableClientAvailableOptions and provide the configuration.
var builder = services.AddHealthChecks();
builder.AddTableClientAvailability("<name>", options =>
{
options.KeyedService = "<service-key>"; // optional, used when multiple clients are registered
options.ConnectionString = "<connection-string>"; // required when `Mode` is `ConnectionString`
options.Mode = "<client-creation-mode>"; // required to specify the client creation mode
options.ServiceUri = "<service-uri>", // required when `Mode` is `DefaultAzureCredentials`, `SharedKey` or `AzureSasCredential`
options.TableName = "<table-name>"; // required
options.AccountName = "<account-name>", // required when `Mode` is `SharedKey`
options.AccountKey = "<account-key>", // required when `Mode` is `SharedKey`
options.Timeout = "<timeout>" // optional, default is 100 milliseconds
});
💡 You can always provide tags to all health checks, for grouping or filtering.
var builder = services.AddHealthChecks();
builder.AddTableClientAvailability("<name>", options => ..., "azure");
Health Check - Azure Table Service Availability
The health check is a liveness check. It will check that the Azure Table service is reachable. If the service needs longer than the configured timeout to respond, the health check will return Degraded. If the service is not reachable, the health check will return Unhealthy.
Parameters
name: The name of the health check. The name is used to identify the configuration object. It is required and must be unique within the application.options: The configuration options for the health check. If you don't provide any options, the health check will use the configuration-based approach.tags: The tags for the health check. The tagsazure,storageandtableare always used as default and combined with the user input. You can provide additional tags to group or filter the health checks.
Variant 1: Configuration-based
The first one is to use the configuration-based approach. Therefore, you have to add the configuration section HealthChecks:AzureTableService to your appsettings.json file.
var builder = services.AddHealthChecks();
builder.AddTableServiceAvailability("<name>");
The configuration looks like this:
{
..., // other configuration
"HealthChecks": {
"AzureTableService": {
"<name>": {
"KeyedService": "<service-key>", // optional, used when multiple clients are registered and `Mode` is `ServiceProvider`
"ConnectionString": "<connection-string>", // required when `Mode` is `ConnectionString`
"Mode": "<client-creation-mode>", // required to specify the client creation mode
"ServiceUri": "<service-uri>", // required when `Mode` is `DefaultAzureCredentials`, `SharedKey` or `AzureSasCredential`
"AccountName": "<account-name>", // required when `Mode` is `SharedKey`
"AccountKey": "<account-key>", // required when `Mode` is `SharedKey`
"Timeout": "<timeout>" // optional, default is 100 milliseconds
}
}
}
}
Variant 2: Options-based
The second one is to use the options-based approach. Therefore, you have to create an instance of TableServiceAvailableOptions and provide the configuration.
var builder = services.AddHealthChecks();
builder.AddTableServiceAvailability("<name>", options =>
{
options.KeyedService = "<service-key>"; // optional, used when multiple clients are registered
options.ConnectionString = "<connection-string>"; // required when `Mode` is `ConnectionString`
options.Mode = "<client-creation-mode>"; // required to specify the client creation mode
options.ServiceUri = "<service-uri>", // required when `Mode` is `DefaultAzureCredentials`, `SharedKey` or `AzureSasCredential`
options.AccountName = "<account-name>", // required when `Mode` is `SharedKey`
options.AccountKey = "<account-key>", // required when `Mode` is `SharedKey`
options.Timeout = "<timeout>" // optional, default is 100 milliseconds
});
💡 You can always provide tags to all health checks, for grouping or filtering.
var builder = services.AddHealthChecks();
builder.AddTableServiceAvailability("<name>", options => ..., "azure");
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
-
net10.0
- Azure.Data.Tables (>= 12.11.0)
- Azure.Identity (>= 1.17.1)
- NetEvolve.Extensions.Tasks (>= 2.0.11)
-
net8.0
- Azure.Data.Tables (>= 12.11.0)
- Azure.Identity (>= 1.17.1)
- NetEvolve.Extensions.Tasks (>= 2.0.11)
-
net9.0
- Azure.Data.Tables (>= 12.11.0)
- Azure.Identity (>= 1.17.1)
- NetEvolve.Extensions.Tasks (>= 2.0.11)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NetEvolve.HealthChecks.Azure.Tables:
| Package | Downloads |
|---|---|
|
NetEvolve.HealthChecks.Azure
Contains HealthChecks for various Azure services. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.13.51 | 57 | 3/16/2026 |
| 5.13.1 | 96 | 3/3/2026 |
| 5.11.2 | 121 | 1/1/2026 |
| 5.10.32 | 130 | 12/29/2025 |
| 5.9.5 | 279 | 12/15/2025 |
| 5.8.0 | 459 | 12/8/2025 |
| 5.7.10 | 384 | 12/8/2025 |
| 5.5.2 | 144 | 11/29/2025 |
| 5.0.0 | 440 | 11/20/2025 |
| 4.20.61 | 165 | 9/27/2025 |
| 4.15.1 | 332 | 6/13/2025 |
| 4.14.3 | 300 | 6/9/2025 |
| 4.12.3 | 208 | 6/5/2025 |
| 4.3.0 | 242 | 5/26/2025 |
| 4.1.158 | 231 | 5/22/2025 |
| 4.1.131 | 225 | 5/1/2025 |
| 4.1.110 | 230 | 4/8/2025 |
| 4.1.74 | 201 | 2/19/2025 |
| 4.1.65 | 146 | 1/29/2025 |
| 4.1.23 | 199 | 12/19/2024 |