请查看以下两个问题: Asp / asp托管信息页和在ASP.NET中是否有等同于phpinfo()的内容?
Please, look at that 2 questions: Asp/asp Hosting Info Page and Is there an equivalent to phpinfo() in ASP.NET?
使用这2个问题中的信息,我有2个简单的文件 info.php和 info.aspx,其中 info.aspx仅包含:
Using the info in that 2 questions, I have 2 simple files, "info.php" and "info.aspx", where "info.aspx" simply contains:
<%@ Page Trace="true" Language="C#" ContentType="text/html" ResponseEncoding="utf-8" %>和 info.php包含:
and "info.php" contains:
<?php echo phpinfo();?>现在,我想要一个显示有关 ASP.Net信息的单页/文件解决方案核心和/或.Net核心-如果受支持,已安装,受支持的版本等...
Now, I would like a single page/file solution that show info about ASP.Net Core and/or .Net Core - if it is supported, installed, wich version, etc...
有可能吗?
推荐答案它曾经是Diagnostics中的RuntimeInfoPage中间件( app.UseRuntimeInfoPage()),但已在RTM中删除。有一个公开的请求可以将其还原并使其更有用: github/aspnet / Diagnostics / issues / 280
It had been an RuntimeInfoPage middleware in Diagnostics (app.UseRuntimeInfoPage() ), but it was removed in RTM. There is an open request to restore it back and make more useful: github/aspnet/Diagnostics/issues/280
更多推荐
有关ASP.Net Core的信息页
发布评论