Skip to main content
NLog.Web.AspNetCore package icon

NLog.Web.AspNetCore

Use NLog with the ASP.NET Core platform. Adds helpers and layout renderers for websites and webapplications. Supported platforms: - For ASP.NET Core 2, .NET Standard 2.0+ and .NET 4.6+ - For ASP.NET Core 1, .NET Standard 1.5+ and .NET 4.5.x

Total Downloads
173.5M
173,523,168
Published
May 10, 2018
Latest stable version

Install

.NET CLI
dotnet add package NLog.Web.AspNetCore --version 4.5.4
Package Manager Console
Install-Package NLog.Web.AspNetCore -Version 4.5.4
PackageReference
<PackageReference Include="NLog.Web.AspNetCore" Version="4.5.4" />

Frameworks

.NETFramework4.5.1 .NETFramework4.6.1 .NETStandard1.5 .NETStandard2.0

Dependencies

[1.1.1, )
Microsoft.AspNetCore.Http
.NETFramework4.5.1
[1.1.1, )
[1.1.1, )
[1.1.1, )
NLog.Extensions.Logging
.NETFramework4.5.1
[1.0.2, )
[2.0.0, )
Microsoft.AspNetCore.Http
.NETFramework4.6.1
[2.0.0, )
[2.0.0, )
[2.0.0, )
NLog.Extensions.Logging
.NETFramework4.6.1
[1.0.2, )
[1.1.1, )
[1.1.1, )
NETStandard.Library
.NETStandard1.5
[1.6.1, )
[1.0.2, )
[2.0.0, )
[2.0.0, )
[1.0.2, )

Adoption guide

Teams already using NLog or requiring its configuration-oriented routing model.

Logging guide
Why it appears in the guide: NLog integration for ASP.NET Core with flexible target and rule configuration. Trade-off: Avoid adding a second logging pipeline when the existing provider already meets the requirement.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

The published metadata declares 21 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.