Skip to content

AspNet MVC Action Layout Renderer

Rolf Kristensen edited this page Jan 1, 2022 · 4 revisions

ASP.NET MVC Action-Name by lookup of action-value in HttpContext.Current.GetRouteData

Platforms Supported: All

Introduced in NLog.Web 4.3

Configuration Syntax

${aspnet-mvc-action}

Remarks

Use this layout renderer to insert the Action Method from MVC Pipeline.

See also AspNetRequest-RouteParameters-Layout-Renderer for lookup of other Route-Parameter Values.

Clone this wiki locally