frankadelic frankadelic - 2 months ago 22
ASP.NET (C#) Question

Is there an equivalent to phpinfo() in ASP.NET?

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

Anyone aware of a script for ASP.NET that includes all that info, including server software, drivers, etc.?

Answer

An empty page with this header should do the trick:

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