0fd6a979683935fa51b0e1c66b9e7b08f6f2324b
Centralized health check HTML generation into a new static `HealthCheckHtmlGenerator` class to improve modularity and maintainability. This class encapsulates the logic for generating HTML, including navigation, overall status, summary cards, individual checks, and refresh information. Replaced the inline `GenerateHealthCheckHtml` method in `Program.cs` with the new `HealthCheckHtmlGenerator.Generate` method, removing redundant code and improving separation of concerns. Updated `Program.cs` to include the necessary namespace. Simplified the `/health-ui` endpoint to use the new utility class, reducing code duplication and improving readability.
Description
No description provided
Languages
Visual Basic .NET
59.2%
HTML
34%
C#
5%
CSS
1.8%