有关ASP.Net Core的信息页 [英] Info Page about ASP.Net Core

查看:104
本文介绍了有关ASP.Net Core的信息页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请查看以下两个问题:
Asp / asp.net托管信息页在ASP.NET中是否有等同于phpinfo()的内容?

Please, look at that 2 questions: Asp/asp.net 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中删除。有一个公开的请求可以将其还原并使其更有用: https://github.com/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: https://github.com/aspnet/Diagnostics/issues/280

这篇关于有关ASP.Net Core的信息页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆