I've looped over the Request.ServerVariables
collection in ASP.NET, but it's not as comprehensive as phpinfo()
.
How can I print all that information, including server software, drivers, etc, for ASP.NET?
I've looped over the Request.ServerVariables
collection in ASP.NET, but it's not as comprehensive as phpinfo()
.
How can I print all that information, including server software, drivers, etc, for ASP.NET?
ServerInfo.GetHtml()
is basically the same asphpinfo()
. Not only is the actual returned information extremely similar but also the html presentation. Here is a live demo!You can also use it even if you're only making a pure Web API app, but letting a controller return a
HttpResponseMessage
like so:here is an answer i found, that looks like it covers it covers it, at first sight: http://www.actionscript.org/forums/showthread.php3?p=133347 someone scripted it out
I realized a simple library to inlude in projects called InfoPage. This library show you system info, assembly included in application, build number,and changelogs.
You can simply include it in your project by nuget, it is quick to integrate and customizable.
How about using the ASP.Net tracing subsystem? It allows you to get:
See here.