Saturday, February 5, 2011

ASP.NET - how to display server stats / info?

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

  • The answer is no, but I think the answer to this question will be helpful to you: http://stackoverflow.com/questions/544209/is-there-an-equivalent-to-phpinfo-in-asp-net

    From Smazy
  • 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.

  • 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>
    

0 comments:

Post a Comment