【问题标题】:Endpoint configuration for AspNetCore HealthCheck UI at runtime运行时 AspNetCore HealthCheck UI 的端点配置
【发布时间】:2020-07-17 09:14:01
【问题描述】:

我找不到在运行时更改 Asp.net Core HealthCheck UI 的端点配置的解决方案。 它可以在 appsettings.json 或 Startup 中配置,但我需要在运行时控制端点。 (例如,基于集成事件) 有什么想法吗?

【问题讨论】:

    标签: asp.net-core health-monitoring health-check


    【解决方案1】:

    我找到了解决方案。使用 DatabaseStorage,表 Configurations 中的更改会反映在 UI 中。所以在这个表上实现简单的 CRUD 特性可以解决问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-24
      • 2021-10-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-14
      • 2016-08-25
      相关资源
      最近更新 更多