如何打印与 phpinfo() 类似的信息,但用于 ASP.NET? [英] How to print similar information as phpinfo() but for ASP.NET?

查看:20
本文介绍了如何打印与 phpinfo() 类似的信息,但用于 ASP.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经遍历了 ASP.NET 中的 Request.ServerVariables 集合,但它不如 phpinfo() 全面.

I've looped over the Request.ServerVariables collection in ASP.NET, but it's not as comprehensive as phpinfo().

如何打印 ASP.NET 的所有信息,包括服务器软件、驱动程序等?

How can I print all that information, including server software, drivers, etc, for ASP.NET?

推荐答案

带有此标题的空页面应该可以解决问题:

An empty page with this header should do the trick:

<%@ Page Trace="true"  Language="C#" 
    ContentType="text/html" ResponseEncoding="utf-8" %>

这篇关于如何打印与 phpinfo() 类似的信息,但用于 ASP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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