From 77200410d6a68025b047a613c636cf3d856e7e6c Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Baaskaran Date: Thu, 22 Mar 2018 18:21:28 -0700 Subject: [PATCH] Updated Razor views --- .../Views/DetailsPage.Designer.cs | 1145 ++++++++--------- .../Views/DetailsPage.cshtml | 28 +- .../Views/LogPage.Designer.cs | 417 +++--- .../Views/LogPage.cshtml | 50 +- .../Views/DatabaseErrorPage.Designer.cs | 85 +- .../Views/CompilationErrorPage.Designer.cs | 255 +--- .../Views/CompilationErrorPage.cshtml | 9 +- .../Views/ErrorPage.Designer.cs | 457 ++----- .../Views/ErrorPage.cshtml | 25 +- .../WelcomePage/Views/WelcomePage.Designer.cs | 54 +- 10 files changed, 1023 insertions(+), 1502 deletions(-) diff --git a/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/DetailsPage.Designer.cs b/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/DetailsPage.Designer.cs index 0dde4725..d1f50f01 100644 --- a/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/DetailsPage.Designer.cs +++ b/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/DetailsPage.Designer.cs @@ -1,606 +1,541 @@ -namespace Microsoft.AspNetCore.Diagnostics.Elm.RazorViews -{ -#line 1 "DetailsPage.cshtml" -using System - -#line default -#line hidden - ; -#line 2 "DetailsPage.cshtml" -using System.Globalization - -#line default -#line hidden - ; -#line 3 "DetailsPage.cshtml" -using System.Linq - -#line default -#line hidden - ; -#line 4 "DetailsPage.cshtml" -using Microsoft.AspNetCore.Diagnostics.Elm - -#line default -#line hidden - ; -#line 5 "DetailsPage.cshtml" -using Microsoft.AspNetCore.Diagnostics.Elm.RazorViews - -#line default -#line hidden - ; -#line 6 "DetailsPage.cshtml" -using Microsoft.Extensions.RazorViews - -#line default -#line hidden - ; -#line 7 "DetailsPage.cshtml" -using Microsoft.Extensions.Logging - -#line default -#line hidden - ; - using System.Threading.Tasks; - - internal class DetailsPage : Microsoft.Extensions.RazorViews.BaseView - { -#line 10 "DetailsPage.cshtml" - - public DetailsPage(DetailsPageModel model) - { - Model = model; - } - - public DetailsPageModel Model { get; set; } - - public HelperResult LogRow(LogInfo log) - { - return new HelperResult((writer) => - { - if (log.Severity >= Model.Options.MinLevel && - (string.IsNullOrEmpty(Model.Options.NamePrefix) || log.Name.StartsWith(Model.Options.NamePrefix, StringComparison.Ordinal))) - { - WriteLiteralTo(writer, " \r\n "); - WriteTo(writer, string.Format("{0:MM/dd/yy}", log.Time)); - WriteLiteralTo(writer, "\r\n "); - WriteTo(writer, string.Format("{0:H:mm:ss}", log.Time)); - var severity = log.Severity.ToString().ToLowerInvariant(); - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Severity); - - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Name); - - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Message); - - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Exception); - - WriteLiteralTo(writer, "\r\n \r\n"); - } - }); - } - - public HelperResult Traverse(ScopeNode node) - { - return new HelperResult((writer) => - { - var messageIndex = 0; - var childIndex = 0; - while (messageIndex < node.Messages.Count && childIndex < node.Children.Count) - { - if (node.Messages[messageIndex].Time < node.Children[childIndex].StartTime) - { - LogRow(node.Messages[messageIndex]); - messageIndex++; - } - else - { - Traverse(node.Children[childIndex]); - childIndex++; - } - } - if (messageIndex < node.Messages.Count) - { - for (var i = messageIndex; i < node.Messages.Count; i++) - { - LogRow(node.Messages[i]); - } - } - else - { - for (var i = childIndex; i < node.Children.Count; i++) - { - Traverse(node.Children[i]); - } - } - }); - } - -#line default -#line hidden - #line hidden - public DetailsPage() - { - } - - #pragma warning disable 1998 - public override async Task ExecuteAsync() - { - WriteLiteral("\r\n"); -#line 84 "DetailsPage.cshtml" - - Response.ContentType = "text/html; charset=utf-8"; - -#line default -#line hidden - - WriteLiteral(@" - - - - ASP.NET Core Logs - - - - -

ASP.NET Core Logs

-"); -#line 192 "DetailsPage.cshtml" - - -#line default -#line hidden - -#line 192 "DetailsPage.cshtml" - - var context = Model.Activity?.HttpInfo; - - -#line default -#line hidden - - WriteLiteral(" "); -#line 195 "DetailsPage.cshtml" - if (context != null) - { - -#line default -#line hidden - - WriteLiteral("

Request Details

\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n - - - - \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Path"); -#line 203 "DetailsPage.cshtml" - Write(context.Path); - -#line default -#line hidden - WriteLiteral("
Host"); -#line 207 "DetailsPage.cshtml" - Write(context.Host); - -#line default -#line hidden - WriteLiteral("
Content Type"); -#line 211 "DetailsPage.cshtml" - Write(context.ContentType); - -#line default -#line hidden - WriteLiteral("
Method"); -#line 215 "DetailsPage.cshtml" - Write(context.Method); - -#line default -#line hidden - WriteLiteral("
Protocol"); -#line 219 "DetailsPage.cshtml" - Write(context.Protocol); - -#line default -#line hidden - WriteLiteral(@"
Headers - - - - - - - - -"); -#line 232 "DetailsPage.cshtml" - - -#line default -#line hidden - -#line 232 "DetailsPage.cshtml" - foreach (var header in context.Headers) - { - -#line default -#line hidden - - WriteLiteral(" \r\n \r\n \r\n \r\n"); -#line 238 "DetailsPage.cshtml" - } - -#line default -#line hidden - - WriteLiteral(" \r\n
VariableValue
"); -#line 235 "DetailsPage.cshtml" - Write(header.Key); - -#line default -#line hidden - WriteLiteral(""); -#line 236 "DetailsPage.cshtml" - Write(string.Join(";", header.Value)); - -#line default -#line hidden - WriteLiteral("
\r\n
Status Code"); -#line 245 "DetailsPage.cshtml" - Write(context.StatusCode); - -#line default -#line hidden - WriteLiteral("
User"); -#line 249 "DetailsPage.cshtml" - Write(context.User.Identity.Name); - -#line default -#line hidden - WriteLiteral("
Claims\r\n"); -#line 254 "DetailsPage.cshtml" - - -#line default -#line hidden - -#line 254 "DetailsPage.cshtml" - if (context.User.Claims.Any()) - { - -#line default -#line hidden - - WriteLiteral(@" - - - - - - - -"); -#line 264 "DetailsPage.cshtml" - - -#line default -#line hidden - -#line 264 "DetailsPage.cshtml" - foreach (var claim in context.User.Claims) - { - -#line default -#line hidden - - WriteLiteral(" \r\n \r\n \r\n \r\n"); -#line 270 "DetailsPage.cshtml" - } - -#line default -#line hidden - - WriteLiteral(" \r\n
IssuerValue
"); -#line 267 "DetailsPage.cshtml" - Write(claim.Issuer); - -#line default -#line hidden - WriteLiteral(""); -#line 268 "DetailsPage.cshtml" - Write(claim.Value); - -#line default -#line hidden - WriteLiteral("
\r\n"); -#line 273 "DetailsPage.cshtml" - } - -#line default -#line hidden - - WriteLiteral("
Scheme"); -#line 278 "DetailsPage.cshtml" - Write(context.Scheme); - -#line default -#line hidden - WriteLiteral("
Query"); -#line 282 "DetailsPage.cshtml" - Write(context.Query.Value); - -#line default -#line hidden - WriteLiteral("
Cookies\r\n"); -#line 287 "DetailsPage.cshtml" - - -#line default -#line hidden - -#line 287 "DetailsPage.cshtml" - if (context.Cookies.Any()) - { - -#line default -#line hidden - - WriteLiteral(@" - - - - - - - -"); -#line 297 "DetailsPage.cshtml" - - -#line default -#line hidden - -#line 297 "DetailsPage.cshtml" - foreach (var cookie in context.Cookies) - { - -#line default -#line hidden - - WriteLiteral(" \r\n \r\n \r\n \r\n"); -#line 303 "DetailsPage.cshtml" - } - -#line default -#line hidden - - WriteLiteral(" \r\n
VariableValue
"); -#line 300 "DetailsPage.cshtml" - Write(cookie.Key); - -#line default -#line hidden - WriteLiteral(""); -#line 301 "DetailsPage.cshtml" - Write(string.Join(";", cookie.Value)); - -#line default -#line hidden - WriteLiteral("
\r\n"); -#line 306 "DetailsPage.cshtml" - } - -#line default -#line hidden - - WriteLiteral("
\r\n"); -#line 310 "DetailsPage.cshtml" - } - -#line default -#line hidden - - WriteLiteral("

Logs

\r\n
\r\n \r\n - -
- - - - - - - - - - - - "); -#line 341 "DetailsPage.cshtml" - Write(Traverse(Model.Activity.Root)); - -#line default -#line hidden - WriteLiteral(@" -
DateTimeSeverityNameStateError
- - -"); - } - #pragma warning restore 1998 - } -} +th { + font-family: Arial; +} + +td, th { + padding: 8px; +} + +#headerTable, #cookieTable { + border: none; + height: 100%; +} + +#headerTd { + white-space: normal; +} + +#label { + width: 20%; + border-right: 1px solid black; +} + +#logs{ + margin-top: 10px; + margin-bottom: 20px; +} + +#logs>tbody>tr>td { + border-right: 1px dashed lightgray; +} + +#logs>thead>tr>th { + border: 1px solid black; +} + + + +

ASP.NET Core Logs

+"); +#line 194 "DetailsPage.cshtml" + + var context = Model.Activity?.HttpInfo; + + +#line default +#line hidden + WriteLiteral(" "); +#line 197 "DetailsPage.cshtml" + if (context != null) + { + +#line default +#line hidden + WriteLiteral("

Request Details

\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n + + + + \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Path"); +#line 205 "DetailsPage.cshtml" + Write(context.Path); + +#line default +#line hidden + WriteLiteral("
Host"); +#line 209 "DetailsPage.cshtml" + Write(context.Host); + +#line default +#line hidden + WriteLiteral("
Content Type"); +#line 213 "DetailsPage.cshtml" + Write(context.ContentType); + +#line default +#line hidden + WriteLiteral("
Method"); +#line 217 "DetailsPage.cshtml" + Write(context.Method); + +#line default +#line hidden + WriteLiteral("
Protocol"); +#line 221 "DetailsPage.cshtml" + Write(context.Protocol); + +#line default +#line hidden + WriteLiteral(@"
Headers + + + + + + + + +"); +#line 234 "DetailsPage.cshtml" + foreach (var header in context.Headers) + { + +#line default +#line hidden + WriteLiteral(" \r\n \r\n \r\n \r\n"); +#line 240 "DetailsPage.cshtml" + } + +#line default +#line hidden + WriteLiteral(" \r\n
VariableValue
"); +#line 237 "DetailsPage.cshtml" + Write(header.Key); + +#line default +#line hidden + WriteLiteral(""); +#line 238 "DetailsPage.cshtml" + Write(string.Join(";", header.Value)); + +#line default +#line hidden + WriteLiteral("
\r\n
Status Code"); +#line 247 "DetailsPage.cshtml" + Write(context.StatusCode); + +#line default +#line hidden + WriteLiteral("
User"); +#line 251 "DetailsPage.cshtml" + Write(context.User.Identity.Name); + +#line default +#line hidden + WriteLiteral("
Claims\r\n"); +#line 256 "DetailsPage.cshtml" + if (context.User.Claims.Any()) + { + +#line default +#line hidden + WriteLiteral(@" + + + + + + + +"); +#line 266 "DetailsPage.cshtml" + foreach (var claim in context.User.Claims) + { + +#line default +#line hidden + WriteLiteral(" \r\n \r\n \r\n \r\n"); +#line 272 "DetailsPage.cshtml" + } + +#line default +#line hidden + WriteLiteral(" \r\n
IssuerValue
"); +#line 269 "DetailsPage.cshtml" + Write(claim.Issuer); + +#line default +#line hidden + WriteLiteral(""); +#line 270 "DetailsPage.cshtml" + Write(claim.Value); + +#line default +#line hidden + WriteLiteral("
\r\n"); +#line 275 "DetailsPage.cshtml" + } + +#line default +#line hidden + WriteLiteral("
Scheme"); +#line 280 "DetailsPage.cshtml" + Write(context.Scheme); + +#line default +#line hidden + WriteLiteral("
Query"); +#line 284 "DetailsPage.cshtml" + Write(context.Query.Value); + +#line default +#line hidden + WriteLiteral("
Cookies\r\n"); +#line 289 "DetailsPage.cshtml" + if (context.Cookies.Any()) + { + +#line default +#line hidden + WriteLiteral(@" + + + + + + + +"); +#line 299 "DetailsPage.cshtml" + foreach (var cookie in context.Cookies) + { + +#line default +#line hidden + WriteLiteral(" \r\n \r\n \r\n \r\n"); +#line 305 "DetailsPage.cshtml" + } + +#line default +#line hidden + WriteLiteral(" \r\n
VariableValue
"); +#line 302 "DetailsPage.cshtml" + Write(cookie.Key); + +#line default +#line hidden + WriteLiteral(""); +#line 303 "DetailsPage.cshtml" + Write(string.Join(";", cookie.Value)); + +#line default +#line hidden + WriteLiteral("
\r\n"); +#line 308 "DetailsPage.cshtml" + } + +#line default +#line hidden + WriteLiteral("
\r\n"); +#line 312 "DetailsPage.cshtml" + } + +#line default +#line hidden + WriteLiteral("

Logs

\r\n
\r\n \r\n + +
+ + + + + + + + + + + + "); +#line 343 "DetailsPage.cshtml" + Write(Traverse(Model.Activity.Root)); + +#line default +#line hidden + WriteLiteral(@" +
DateTimeSeverityNameStateError
+ + +"); + } + #pragma warning restore 1998 +#line 10 "DetailsPage.cshtml" + + public DetailsPage(DetailsPageModel model) + { + Model = model; + } + + public DetailsPageModel Model { get; set; } + + public HelperResult LogRow(LogInfo log) + { + return new HelperResult((writer) => + { + if (log.Severity >= Model.Options.MinLevel && + (string.IsNullOrEmpty(Model.Options.NamePrefix) || log.Name.StartsWith(Model.Options.NamePrefix, StringComparison.Ordinal))) + { + PushWriter(writer); + WriteLiteral(" \r\n "); + Write(string.Format("{0:MM/dd/yy}", log.Time)); + WriteLiteral("\r\n "); + Write(string.Format("{0:H:mm:ss}", log.Time)); + var severity = log.Severity.ToString().ToLowerInvariant(); + WriteLiteral($"\r\n "); + Write(log.Severity); + + WriteLiteral($"\r\n "); + Write(log.Name); + + WriteLiteral($"\r\n "); + Write(log.Message); + + WriteLiteral($"\r\n "); + Write(log.Exception); + + WriteLiteral("\r\n \r\n"); + PopWriter(); + } + }); + } + + public HelperResult Traverse(ScopeNode node) + { + return new HelperResult((writer) => + { + var messageIndex = 0; + var childIndex = 0; + while (messageIndex < node.Messages.Count && childIndex < node.Children.Count) + { + if (node.Messages[messageIndex].Time < node.Children[childIndex].StartTime) + { + LogRow(node.Messages[messageIndex]); + messageIndex++; + } + else + { + Traverse(node.Children[childIndex]); + childIndex++; + } + } + if (messageIndex < node.Messages.Count) + { + for (var i = messageIndex; i < node.Messages.Count; i++) + { + LogRow(node.Messages[i]); + } + } + else + { + for (var i = childIndex; i < node.Children.Count; i++) + { + Traverse(node.Children[i]); + } + } + }); + } + +#line default +#line hidden + } +} +#pragma warning restore 1591 diff --git a/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/DetailsPage.cshtml b/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/DetailsPage.cshtml index f0519b8f..76180ed1 100644 --- a/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/DetailsPage.cshtml +++ b/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/DetailsPage.cshtml @@ -22,25 +22,27 @@ if (log.Severity >= Model.Options.MinLevel && (string.IsNullOrEmpty(Model.Options.NamePrefix) || log.Name.StartsWith(Model.Options.NamePrefix, StringComparison.Ordinal))) { - WriteLiteralTo(writer, " \r\n "); - WriteTo(writer, string.Format("{0:MM/dd/yy}", log.Time)); - WriteLiteralTo(writer, "\r\n "); - WriteTo(writer, string.Format("{0:H:mm:ss}", log.Time)); + PushWriter(writer); + WriteLiteral(" \r\n "); + Write(string.Format("{0:MM/dd/yy}", log.Time)); + WriteLiteral("\r\n "); + Write(string.Format("{0:H:mm:ss}", log.Time)); var severity = log.Severity.ToString().ToLowerInvariant(); - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Severity); + WriteLiteral($"\r\n "); + Write(log.Severity); - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Name); + WriteLiteral($"\r\n "); + Write(log.Name); - WriteLiteralTo(writer, $"\r\n \r\n "); - WriteTo(writer, log.Message); + Write(log.Message); - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Exception); + WriteLiteral($"\r\n "); + Write(log.Exception); - WriteLiteralTo(writer, "\r\n \r\n"); + WriteLiteral("\r\n \r\n"); + PopWriter(); } }); } diff --git a/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/LogPage.Designer.cs b/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/LogPage.Designer.cs index 1fa50b2f..1889ca31 100644 --- a/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/LogPage.Designer.cs +++ b/src/Microsoft.AspNetCore.Diagnostics.Elm/Views/LogPage.Designer.cs @@ -1,179 +1,61 @@ +// +#pragma warning disable 1591 namespace Microsoft.AspNetCore.Diagnostics.Elm.RazorViews { + #line hidden #line 1 "LogPage.cshtml" -using System +using System; #line default #line hidden - ; + using System.Threading.Tasks; #line 2 "LogPage.cshtml" -using System.Collections.Generic +using System.Collections.Generic; #line default #line hidden - ; #line 3 "LogPage.cshtml" -using System.Globalization +using System.Globalization; #line default #line hidden - ; #line 4 "LogPage.cshtml" -using System.Linq +using System.Linq; #line default #line hidden - ; #line 5 "LogPage.cshtml" -using Microsoft.AspNetCore.Diagnostics.Elm +using Microsoft.AspNetCore.Diagnostics.Elm; #line default #line hidden - ; #line 6 "LogPage.cshtml" -using Microsoft.AspNetCore.Diagnostics.Elm.RazorViews +using Microsoft.AspNetCore.Diagnostics.Elm.RazorViews; #line default #line hidden - ; #line 7 "LogPage.cshtml" -using Microsoft.Extensions.RazorViews +using Microsoft.Extensions.RazorViews; #line default #line hidden - ; #line 8 "LogPage.cshtml" -using Microsoft.Extensions.Logging +using Microsoft.Extensions.Logging; #line default #line hidden - ; - using System.Threading.Tasks; - internal class LogPage : Microsoft.Extensions.RazorViews.BaseView { -#line 11 "LogPage.cshtml" - - public LogPage(LogPageModel model) - { - Model = model; - } - - public LogPageModel Model { get; set; } - - public HelperResult LogRow(LogInfo log, int level) - { - return new HelperResult((writer) => - { - if (log.Severity >= Model.Options.MinLevel && - (string.IsNullOrEmpty(Model.Options.NamePrefix) || log.Name.StartsWith(Model.Options.NamePrefix, StringComparison.Ordinal))) - { - - WriteLiteralTo(writer, " \r\n "); - WriteTo(writer, string.Format("{0:MM/dd/yy}", log.Time)); - - WriteLiteralTo(writer, "\r\n "); - WriteTo(writer, string.Format("{0:H:mm:ss}", log.Time)); - - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Name); - var severity = log.Severity.ToString().ToLowerInvariant(); - WriteLiteralTo(writer, $"\r\n "); - WriteTo(writer, log.Severity); - - WriteLiteralTo(writer, $"\r\n \r\n"); - - for (var i = 0; i < level; i++) - { - WriteLiteralTo(writer, " \r\n"); - } - - WriteLiteralTo(writer, " "); - WriteTo(writer, log.Message); - - WriteLiteralTo(writer, $"\r\n \r\n "); - - WriteTo(writer, log.Exception); - - WriteLiteralTo(writer, "\r\n \r\n"); - - } - }); - } - - public HelperResult Traverse(ScopeNode node, int level, Dictionary counts) - { - return new HelperResult((writer) => { - // print start of scope - WriteTo(writer, LogRow(new LogInfo() - { - Name = node.Name, - Time = node.StartTime, - Severity = LogLevel.Debug, - Message = "Beginning " + node.State, - }, level)); - - var messageIndex = 0; - var childIndex = 0; - while (messageIndex < node.Messages.Count && childIndex < node.Children.Count) - { - if (node.Messages[messageIndex].Time < node.Children[childIndex].StartTime) - { - WriteTo(writer, LogRow(node.Messages[messageIndex], level)); - - counts[node.Messages[messageIndex].Severity.ToString()]++; - messageIndex++; - } - else - { - WriteTo(writer, Traverse(node.Children[childIndex], level + 1, counts)); - childIndex++; - } - } - if (messageIndex < node.Messages.Count) - { - for (var i = messageIndex; i < node.Messages.Count; i++) - { - WriteTo(writer, LogRow(node.Messages[i], level)); - counts[node.Messages[i].Severity.ToString()]++; - } - } - else - { - for (var i = childIndex; i < node.Children.Count; i++) - { - WriteTo(writer, Traverse(node.Children[i], level + 1, counts)); - } - } - // print end of scope - WriteTo(writer, LogRow(new LogInfo() - { - Name = node.Name, - Time = node.EndTime, - Severity = LogLevel.Debug, - Message = string.Format("Completed {0} in {1}ms", node.State, node.EndTime - node.StartTime) - }, level)); - }); - } - -#line default -#line hidden - #line hidden - public LogPage() - { - } - #pragma warning disable 1998 - public override async Task ExecuteAsync() + public async override global::System.Threading.Tasks.Task ExecuteAsync() { WriteLiteral("\r\n"); -#line 114 "LogPage.cshtml" +#line 118 "LogPage.cshtml" Response.ContentType = "text/html; charset=utf-8"; #line default #line hidden - WriteLiteral(@" @@ -322,13 +204,7 @@ public override async Task ExecuteAsync() } "); WriteLiteral("\r\n.information {\r\n color: blue;\r\n}\r\n\r\n.debug {\r\n color: black;\r\n}\r\n\r\n.warning {\r\n color: orange;\r\n}\r\n \r\n\r\n\r\n

ASP.NET Core Logs

\r\n
\r\n \r\n "); -#line 317 "LogPage.cshtml" - - -#line default -#line hidden - -#line 317 "LogPage.cshtml" +#line 321 "LogPage.cshtml" foreach (var activity in Model.Activities.Reverse()) { #line default #line hidden - WriteLiteral(" \r\n \r\n"); -#line 321 "LogPage.cshtml" - - -#line default -#line hidden - -#line 321 "LogPage.cshtml" +#line 325 "LogPage.cshtml" var activityPath = Model.Path.Value + "/" + activity.Id; if (activity.HttpInfo != null) @@ -444,101 +304,97 @@ public override async Task ExecuteAsync() #line default #line hidden - WriteLiteral(" \t