Microsoft.Extensions.Diagnostics.Probes 11.0.0-preview.1.26560.3

Prefix Reserved
This is a prerelease version of Microsoft.Extensions.Diagnostics.Probes.
dotnet add package Microsoft.Extensions.Diagnostics.Probes --version 11.0.0-preview.1.26560.3
                    
NuGet\Install-Package Microsoft.Extensions.Diagnostics.Probes -Version 11.0.0-preview.1.26560.3
                    
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.Probes" Version="11.0.0-preview.1.26560.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Probes" Version="11.0.0-preview.1.26560.3" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" />
                    
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.Probes --version 11.0.0-preview.1.26560.3
                    
#r "nuget: Microsoft.Extensions.Diagnostics.Probes, 11.0.0-preview.1.26560.3"
                    
#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.Probes@11.0.0-preview.1.26560.3
                    
#: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.Probes&version=11.0.0-preview.1.26560.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Diagnostics.Probes&version=11.0.0-preview.1.26560.3&prerelease
                    
Install as a Cake Tool

Microsoft.Extensions.Diagnostics.Probes

Answers Kubernetes liveness, startup, and readiness TCP probes based on the results from the Health Checks service.

Install the package

From the command-line:

dotnet add package Microsoft.Extensions.Diagnostics.Probes

Or directly in the C# project file:

<ItemGroup>
  <PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" Version="[CURRENTVERSION]" />
</ItemGroup>

Usage Example

The health check endpoints can be registered and configured with the following methods:

public static IServiceCollection AddKubernetesProbes(this IServiceCollection services)
public static IServiceCollection AddKubernetesProbes(this IServiceCollection services, IConfigurationSection section)
public static IServiceCollection AddKubernetesProbes(this IServiceCollection services, Action<KubernetesProbesOptions> configure)

Each type of probe handler can have its details configured separately.

services.AddKubernetesProbes(options =>
{
    options.LivenessProbe.TcpPort = 2305;
    options.StartupProbe.TcpPort = 2306;
    options.ReadinessProbe.TcpPort = 2307;
})

The HealthAssessmentPeriod property defines how often the health-checks are assessed. By default 30 seconds.

Each probe can also specify Func<HealthCheckRegistration, bool>? FilterChecks to customize which health checks are run.

Feedback & Contributing

We welcome feedback and contributions in our GitHub repo.

Supported Platforms

This package includes .NET Framework compatible targets, but is not officially supported on .NET Framework.

Product 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.  net11.0 is compatible. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Microsoft.Extensions.Diagnostics.Probes:

Package Downloads
Archetypical.Software.Vega.Api.Abstractions

This package provides a turn-key API and DBContext for any REST and ODATA exposed data models. These models also allow for automated DBContexts across multiple db technologies. Full OTEL support and swagger/redoc tooling

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.0-preview.1.26560.3 85 11/10/2026
10.11.0-preview.1.26513.7 653 10/14/2026
10.10.0-preview.1.26459.2 1,792 9/9/2026
10.9.0-preview.1.26411.16 1,811 8/11/2026
10.8.0-preview.1.26364.2 4,632 7/14/2026
10.7.0-preview.1.26309.5 406 6/9/2026
10.6.0-preview.1.26261.4 3,059 5/12/2026
10.5.0-preview.1.26213.4 20,029 4/15/2026
10.4.0-preview.1.26160.2 18,182 3/10/2026
10.3.0-preview.1.26109.11 4,403 2/10/2026
10.2.0-preview.1.26063.2 19,522 1/13/2026
10.1.0-preview.1.25608.1 5,546 12/9/2025
10.0.0-preview.1.25559.3 1,909 11/11/2025
9.10.0-preview.1.25513.3 350 10/14/2025
9.9.0-preview.1.25458.4 28,995 9/9/2025
9.8.0-preview.1.25412.6 8,424 8/12/2025
9.7.0-preview.1.25356.2 13,616 7/8/2025
9.6.0-preview.1.25310.2 561 6/10/2025
9.5.0-preview.1.25262.9 21,129 5/13/2025
9.4.0-preview.1.25207.5 1,198 4/8/2025
Loading failed