Skip to content

Host RootDir Layout Renderer

Rolf Kristensen edited this page Dec 31, 2025 · 3 revisions

HostEnvironment Content Root

Platforms Supported: All (Supported in Asp.NetCore and Asp.NET )

Introduced with NLog.Extensions.Hosting v6.0.0 and NLog.Web.AspNetCore v6.0.0 and NLog.Web v6.0.0

Configuration Syntax

${host-rootdir}

Remarks

Application base path is also known as the content root, while wwwroot-path is root directory for static content.

Clone this wiki locally