Skip to content

AspNetRequest Host Layout Renderer

Rolf Kristensen edited this page Jan 23, 2022 · 8 revisions

ASP.NET Request DNS name of the remote client

Platforms Supported: All (ASP.NET Core + ASP.NET)

Introduced in NLog.Web 4.3

Configuration Syntax

${aspnet-request-host}

Remarks

  • ASP.NET Core returns the Host-Header
  • ASP.NET returns the REMOTE_ADDR-ServerVariable

See also AspNet Request IP Layout Renderer

Clone this wiki locally