@{
Layout = null;
Admin my = ViewBag.admin;
}
@inject Microsoft.AspNetCore.Hosting.IWebHostEnvironment env
@(DateTime.Now.ToString("yyyy年MM月dd日"))
网站文章数量
@(Article.FindCount(null,null,null,0,0))
系统总的文章数量
全部
总产品数量
@(Product.FindCount(null,null,null,0,0))
系统总产品数量
总会员数量
@(Member.FindCount(null,null,null,0,0))
系统总会员数量
未读留言
@(Guestbook.FindCount(Guestbook._.IsRead==0, null,null,0,0))
未读留言数量
@if(my.Roles.IsSuperAdmin == 1)
{
服务器信息
| 服务器名称 |
@Environment.MachineName
|
| 操作系统 |
@System.Runtime.InteropServices.RuntimeInformation.OSDescription
|
| 系统架构 |
@System.Runtime.InteropServices.RuntimeInformation.OSArchitecture
|
| 核心数 |
@Environment.ProcessorCount
|
应用程序信息
| 本程序绝对路径 |
@ViewBag.contentPath
|
| 站点物理路径 |
@ViewBag.rootPath
|
| 服务器地址 |
@Utils.GetServerUrl():@(ViewBag.port)
|
| 服务器IP地址 |
@ViewBag.remoteip
|
.NET Core 信息
| .NET Core版本 |
@Html.Raw(System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription)
|
| 环境变量 |
@Html.Raw(env.EnvironmentName)
|
| 内存占用 |
@Html.Raw(((Double)System.Diagnostics.Process.GetCurrentProcess().WorkingSet64 / 1048576).ToString("N2") + " MB")
|
| 启动时间 |
@System.Diagnostics.Process.GetCurrentProcess().StartTime.ToString("yyyy-MM-dd HH:mm:ss")
|
}