NLog.Web.AspNetCore
Integrates NLog as provider for Microsoft.Extensions.Logging, and provides NLog LayoutRenderers to enrich logging output with details from HttpContext.
Install
dotnet add package NLog.Web.AspNetCore --version 5.3.0
Install-Package NLog.Web.AspNetCore -Version 5.3.0
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.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 13 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.