NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging and ASP.NET Core platform. Adds helpers and layout renderers for websites and web applications. Supported platforms: - For ASP.NET Core 5, .NET 5 - For ASP.NET Core 3, .NET Core 3.0 - 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
Install
dotnet add package NLog.Web.AspNetCore --version 4.10.0
Install-Package NLog.Web.AspNetCore -Version 4.10.0
<PackageReference Include="NLog.Web.AspNetCore" Version="4.10.0" />
Frameworks
Dependencies
Adoption guide
Teams already using NLog or requiring its configuration-oriented routing model.
Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.
The published metadata declares 18 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.