有关ASP.Net Core的信息页

编程入门 行业动态 更新时间:2024-10-24 14:19:08
本文介绍了有关ASP.Net Core的信息页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

请查看以下两个问题: 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的信息页

本文发布于:2023-11-15 23:22:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1598867.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:信息   ASP   Net   Core

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!