/Logging/logg.aspx

http://github.com/teamaton/toolbelt · ASP.NET · 20 lines · 10 code · 2 blank · 8 comment · 0 complexity · 1cb530a9bea945469f50f955cae31f45 MD5 · raw file

  1. <%@ Page CodeBehind="logg.aspx.cs" Inherits="Logging.Logg" Language="C#" %>
  2. <%@ Import Namespace="System.IO" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head runat="server">
  6. <title></title>
  7. </head>
  8. <body>
  9. <form id="Form" runat="server">
  10. <div>
  11. <%--<%= string.Join("<br/>", File.ReadAllLines(Server.MapPath(@"log\app.log"))) %>--%>
  12. </div>
  13. <div>
  14. <pre><%: ToDebugString(Request, 3) %></pre>
  15. </div>
  16. </form>
  17. </body>
  18. </html>