NLog.Web.AspNetCore 4.14.0

dotnet add package NLog.Web.AspNetCore --version 4.14.0
                    
NuGet\Install-Package NLog.Web.AspNetCore -Version 4.14.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NLog.Web.AspNetCore" Version="4.14.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NLog.Web.AspNetCore" Version="4.14.0" />
                    
Directory.Packages.props
<PackageReference Include="NLog.Web.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NLog.Web.AspNetCore --version 4.14.0
                    
#r "nuget: NLog.Web.AspNetCore, 4.14.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=NLog.Web.AspNetCore&version=4.14.0
                    
Install NLog.Web.AspNetCore as a Cake Addin
#tool nuget:?package=NLog.Web.AspNetCore&version=4.14.0
                    
Install NLog.Web.AspNetCore as a Cake Tool

NLog.Web.AspNetCore

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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:

  • For ASP.NET Core 6, .NET 6
  • For ASP.NET Core 5, .NET 5
  • For ASP.NET Core 3, .NET Core 3.1
  • For 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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.5 is compatible.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NLog.Web.AspNetCore:

Package Downloads
OcarambaLite

Framework to automate tests using Selenium WebDriver (lighten version without selenium drivers)

GitHub repositories (67)

Showing the top 20 popular GitHub repositories that depend on NLog.Web.AspNetCore:

Repository Stars
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
Jackett/Jackett
API Support for your favorite torrent trackers
JustArchiNET/ArchiSteamFarm
C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
NLog/NLog
NLog - Advanced and Structured Logging for Various .NET Platforms
cobbr/Covenant
Covenant is a collaborative .NET C2 framework for red teamers.
ravendb/ravendb
ACID Document Database
ONLYOFFICE/CommunityServer
Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator.
liukuo362573/YiShaAdmin
基于 .NET Core MVC 的权限管理系统,代码易读易懂、界面简洁美观
dotnetcore/AgileConfig
基于.NET Core开发的轻量级分布式配置中心 / .NET Core lightweight configuration server
geffzhang/NanoFabric
基于Consul + .NET Core + Polly + Ocelot + Exceptionless + IdentityServer等开源项目的微服务开发框架
AlphaYu/adnc
.NET微服务/分布式开发框架,同时也适用于单体架构系统的开发。
CoreUnion/CoreShop
基于 Asp.Net Core 8.0、Uni-App开发,支持可视化布局的小程序商城系统,前后端分离,支持分布式部署,跨平台运行,拥有分销、代理、团购、拼团、秒杀、直播、优惠券、自定义表单等众多营销功能,拥有完整SKU、下单、售后、物流流程。支持一套代码编译发布微信小程序版、H5版、Android版、iOS版、支付宝小程序版、字节跳动小程序版、QQ小程序版等共10个平台。
izhaorui/Zr.Admin.NET
🎉ZR.Admin.NET是一款前后端分离的、跨平台基于RBAC的通用权限管理后台。ORM采用SqlSugar。前端采用Vue、AntDesign,支持多租户、缓存、任务调度、支持统一异常处理、接口限流、支持一键生成前后端代码,支持动态国际化翻译(Vue3),等诸多黑科技,代码简洁易懂、易扩展让开发更简单、更通用。
Mimetis/Dotmim.Sync
A brand new database synchronization framework, multi platform, multi databases, developed on top of .Net Standard 2.0. https://dotmimsync.readthedocs.io/
iioter/iotgateway
A cross-platform IoT gateway based on .net8. Through visual configuration, you can easily connect to any of your devices and systems (such as PLC, barcode scanner, CNC, database, serial device, host computer, OPC Server, OPC UA Server, Mqtt Server, etc.), so as to interact with Thingsboard, IoTSharp or Your own IoT platform for two-way data communi
dotnetzoom/AspNetCore-WebApi-Course
🥇 Professional REST API design with ASP.NET Core WebAPI
lysilver/KopSoftWms
KopSoft仓库管理系统
91270/Meiam.System
.NET 8 / .NET 5 WebAPI + Vue 2.0 + RBAC 企业级前后端分离权限框架
leeveel/GeekServer
基于.Netcore的开发效率高,性能强,跨平台,持久化层透明,支持不停服热更新的游戏服务器。Best for your unity game server!
Version Downloads Last updated
4.14.0 66 9/19/2022
4.11.0 2 3/8/2021
4.10.0.1892-PR639 2 3/8/2021
4.10.0.1888-PR639 1 3/8/2021
4.10.0 32,415 3/8/2021
4.9.3 1 3/8/2021
4.9.2 1 3/8/2021
4.9.1 1 3/8/2021
4.9.0 6 3/8/2021
4.8.6 1 3/8/2021
4.8.5 1 3/8/2021
4.8.4 1 3/8/2021
4.8.3 1 3/8/2021
4.8.2 3 3/8/2021
4.8.2-rc1 1 3/8/2021
4.8.1 3 3/8/2021
4.8.0 1 3/8/2021
4.7.1 1 3/8/2021
4.7.0 3 3/8/2021
4.6.0 2 3/8/2021
4.5.4 9,463 3/8/2021
4.5.3 1 3/8/2021
4.5.2 1 3/8/2021
4.5.1 1 3/8/2021
4.5.0 2 3/8/2021
4.5.0-rc3 1 3/8/2021
4.5.0-rc2 1 3/8/2021
4.5.0-rc1 2 3/8/2021
4.5.0-beta04 1 3/8/2021
4.5.0-beta03 1 3/8/2021
4.5.0-beta02 1 3/8/2021
4.5.0-beta01 1 3/8/2021
4.4.1 42 3/8/2021
4.4.0 7 3/8/2021
4.3.1 13 3/8/2021
4.3.0 5 3/8/2021
4.2.4 1 3/8/2021
4.2.3 1 3/8/2021

- Update dependencies

See also https://github.com/NLog/NLog.Web/releases