Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AspNet MVC Controller Layout Renderer

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

ASP.NET MVC Controller-Name by lookup of controller-value in HttpContext.Current.GetRouteData

Platforms Supported: All

Introduced in NLog.Web 4.3

Configuration Syntax

${aspnet-mvc-controller}

Remarks

Use this layout renderer to insert the Controller from MVC Pipeline.

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

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.