NLog.Web.AspNetCore 6.0.0-rc2

NLog.Web.AspNetCore

Integrates NLog as Logging provider for the ASP.NET Core platform, by just calling UseNLog() with the application host-builder.

Providing features like:

  • Enrich logging output with additional details from active HttpContext using NLog LayoutRenderers, by just updating the NLog configuration.
  • Supports middleware injection for HTTP Request Logging and HTTP Response Logging.
  • Routing logging output to multiple destinations via the available NLog Targets
  • Rendering logging output into standard formats like JSON, CVS, W3C ELF and XML using NLog Layouts.
  • Contributions are always welcome, by creating a pull request.

Supported platforms:

  • ASP.NET Core 6, 7, 8 and 9
  • ASP.NET Core 2, .NET Standard 2.0 and .NET 4.6.1+

Registration of NLog.Web.AspNetCore in the NLog.config file:

<extensions>
    <add assembly="NLog.Web.AspNetCore"/>
</extensions>

Registration of NLog.Web.AspNetCore can also be performed with fluent setup:

NLog.LogManager.Setup().LoadConfigurationFromAppSettings();

Useful Links:

Showing the top 20 packages that depend on NLog.Web.AspNetCore.

Packages Downloads
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
4
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
5
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
6
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
7
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
8
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
9
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
18
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
25
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
29
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
245

ChangeLog: - Updated dependency NLog v6.0 RC2 - Removed support for .NET Core 3.1 + .NET v5 - Enabled nullable references - Removed obsolete extension-methods to register NLog as Logging Provider. - Removed support for EvaluateAsNestedProperties, instead use ObjectPath. - Renamed class-names for old LayoutRenderers to follow standards (@bakgerman) - Marked AspNetLayoutRendererBase DoAppend-method as obsolete (@bakgerman) List of major changes in NLog v6.0: https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html Full changelog: https://github.com/NLog/NLog.Web/releases List of available Layout Renderers: https://nlog-project.org/config/?tab=layout-renderers&search=package:nlog.web.aspnetcore

Version Downloads Last updated
6.0.0-rc2 1 06/07/2025
5.5.0 0 05/29/2025
5.4.0 8 02/18/2025
5.3.15 3 01/18/2025
5.3.14 3 12/06/2024
5.3.13 2 02/18/2025
5.3.12 3 02/15/2025
5.3.11 6 05/14/2024
5.3.10 6 05/13/2024
5.3.9 7 05/13/2024
5.3.8 249 03/07/2024
5.3.7 5 05/14/2024
5.3.5 7 05/14/2024
5.3.4 6 05/14/2024
5.3.3 7 05/14/2024
5.3.2 6 05/13/2024
5.3.1 6 05/14/2024
5.3.0 6 05/14/2024
5.2.3 5 05/14/2024
5.2.2 6 05/13/2024
5.2.1 6 05/14/2024
5.2.0 6 05/14/2024
5.1.5 7 05/18/2024
5.1.4 7 05/14/2024
5.1.2 7 05/14/2024
5.1.1 7 05/14/2024
5.1.0 6 05/14/2024
5.0.0 7 05/14/2024
4.15.0 5 05/14/2024
4.14.0 6 05/14/2024
4.13.0 6 05/13/2024
4.13.0-readme-preview 7 05/14/2024
4.12.0 6 05/14/2024
4.11.0 6 05/14/2024
4.10.0 6 05/13/2024
4.9.3 7 05/14/2024
4.9.2 6 05/14/2024
4.9.1 6 05/14/2024
4.9.0 6 05/14/2024
4.8.6 6 05/14/2024
4.8.5 6 05/13/2024
4.8.4 6 05/14/2024
4.8.3 8 05/13/2024
4.8.2 5 05/14/2024
4.8.1 5 05/13/2024
4.8.0 7 05/18/2024
4.7.1 6 05/14/2024
4.7.0 6 05/14/2024
4.6.0 6 05/14/2024
4.5.4 6 05/14/2024
4.5.3 7 05/14/2024
4.5.2 7 05/13/2024
4.5.1 7 05/14/2024
4.5.0 6 05/15/2024
4.4.1 5 05/13/2024
4.4.0 6 05/17/2024
4.3.1 6 05/14/2024
4.3.0 6 05/14/2024
4.2.4 6 05/14/2024
4.2.3 6 05/13/2024