Reputation: 269
In php there is a function phpinfo();
which displays a whole load of server stats and config information. What is the equivalent in ASP.NET? is there anything?
cheers
Upvotes: 3
Views: 4595
Reputation: 25339
You can now use System.Web.Helpers.ServerInfo.GetHtml()
(in System.Web.Helpers.dll
) which returns an HTML table of all the environment variables, very much like phpinfo() does.
http://msdn.microsoft.com/en-us/library/system.web.helpers.serverinfo.gethtml.aspx
Upvotes: 4
Reputation: 7054
Simple answer: No.
But after enabling tracing for the whole application in the web.config, you can view trace.axd for similiar info.
<configuration>
<system.web>
<trace enabled="true" pageOutput="false" requestLimit="40" localOnly="false"/>
</system.web>
</configuration>
Upvotes: 2
Reputation: 1275
The answer is no, but I think the answer to this question will be helpful to you: How to print similar information as phpinfo() but for ASP.NET?
Upvotes: 0
Reputation: 421978
There's not a phpinfo
style function in ASP.NET. I think you can enable tracing in Web.config
and navigate to trace.axd
to see similar stuff.
Upvotes: 0