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

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

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