/Logging/logg.aspx
http://github.com/teamaton/toolbelt · ASP.NET · 20 lines · 10 code · 2 blank · 8 comment · 0 complexity · 1cb530a9bea945469f50f955cae31f45 MD5 · raw file
- <%@ Page CodeBehind="logg.aspx.cs" Inherits="Logging.Logg" Language="C#" %>
- <%@ Import Namespace="System.IO" %>
-
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- </head>
- <body>
- <form id="Form" runat="server">
- <div>
- <%--<%= string.Join("<br/>", File.ReadAllLines(Server.MapPath(@"log\app.log"))) %>--%>
- </div>
- <div>
- <pre><%: ToDebugString(Request, 3) %></pre>
- </div>
- </form>
- </body>
- </html>