Skip to content

Conversation

@zhiyuanliang-ms
Copy link
Member

@zhiyuanliang-ms zhiyuanliang-ms commented Apr 9, 2025

Why this PR?

The health check is a missing piece of the configuration provider. Add integration for Microsoft.Extensions.Diagnostic.HealthChecks.

Visible Change

  • Introduced a new internal class AzureAppConfigurationHealthCheck which implements IHealthCheck.
  • Added a new public API:
    public static IHealthChecksBuilder AddAzureAppConfiguration(this IHealthChecksBuilder builder, ...)

Usage

builder.Configuration
    .AddAzureAppConfiguration("<connection-string>");

builder.Services
    .AddHealthChecks()
    .AddAzureAppConfiguration();

Health check in .NET Aspire

doc

This was referenced Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants