Reputation: 8852
Please, look at these two questions: Asp/asp.net Hosting Info Page and Is there an equivalent to phpinfo() in ASP.NET?
Using the info in that 2 questions, I have 2 simple files, "info.php" and "info.aspx", where "info.aspx" simply contains:
<%@ Page Trace="true" Language="C#"
ContentType="text/html" ResponseEncoding="utf-8" %>
and "info.php" contains:
<?php echo phpinfo();?>
Now, I would like a single page/file solution that show info about ASP.Net Core and/or .Net Core - if it is supported, installed, which version, etc...
Is it possible?
Upvotes: 0
Views: 807
Reputation: 49769
It had been an RuntimeInfoPage middleware in Diagnostics (app.UseRuntimeInfoPage()
), but it was removed in RTM. There is an open request to restore it back and make more useful: https://github.com/aspnet/Diagnostics/issues/280
Upvotes: 2