@using PowderCoating.Web.Controllers @model SystemInfoViewModel @{ ViewData["Title"] = "System Info"; ViewData["PageIcon"] = "bi-cpu"; } @section Styles { }
Observability
Read-only diagnostics
Application
App Version @Model.AppVersion
Environment @{ var envBadge = Model.EnvironmentName switch { "Production" => "bg-danger", "Staging" => "bg-warning text-dark", _ => "bg-success" }; } @Model.EnvironmentName
.NET Runtime @Model.RuntimeVersion
OS @Model.OsDescription
Machine Name @Model.MachineName
Database
Connection Status @if (Model.DatabaseConnected) { @Model.DatabaseStatus } else { @Model.DatabaseStatus }
Migrations Applied @Model.MigrationCount
Last Migration @(Model.LastAppliedMigration ?? "—")
Last Seed Run @if (Model.LastSeedRun.HasValue) { @Model.LastSeedRun.Value.ToString("MMM d, yyyy h:mm tt") UTC } else { Not run this session }
Server Time
Local Time @Model.ServerTime.ToString("MMM d, yyyy h:mm:ss tt")
UTC Time @Model.ServerTimeUtc.ToString("MMM d, yyyy HH:mm:ss") UTC
Time Zone @Model.ServerTimeZone
Users

@Model.ActiveUserCount

Active Users

@Model.TotalUserCount

Total Users