NLog.Web.AspNetCore 4.13.0-readme-preview

Prefix Reserved
This is a prerelease version of NLog.Web.AspNetCore.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NLog.Web.AspNetCore --version 4.13.0-readme-preview
                    
NuGet\Install-Package NLog.Web.AspNetCore -Version 4.13.0-readme-preview
                    
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.13.0-readme-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NLog.Web.AspNetCore" Version="4.13.0-readme-preview" />
                    
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.13.0-readme-preview
                    
#r "nuget: NLog.Web.AspNetCore, 4.13.0-readme-preview"
                    
#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.13.0-readme-preview&prerelease
                    
Install NLog.Web.AspNetCore as a Cake Addin
#tool nuget:?package=NLog.Web.AspNetCore&version=4.13.0-readme-preview&prerelease
                    
Install NLog.Web.AspNetCore as a Cake Tool

NLog

NLog.Web.AspNetCore

AppVeyor Version Version

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 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

This package is an extension to NLog.

This package contains targets and layout-renderes specific for ASP.NET Core and with the use of NLog.Extensions.Logging it integrates into the ASP.NET Core logging as described at Microsoft docs.

Getting started with NLog

Config

Troubleshooting

Releases

For updates and releases, check CHANGELOG.MD or Releases

ASP.NET Core

ASP.NET Core 1, 2, 3 and 5 are supported!

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

ℹ️ Missing the trace and debug logs in .NET Core 2? Check your appsettings.json

Use the NLog.Web.AspNetCore package

There is a special package for ASP.NET Core / MVC Core. This is needed because we can't detect if ASP.NET or ASP.NET Core is used. The package depends on NLog.Extensions.Logging - which integrates with the ASP.NET Core logging system.

Contributions

Contributions are highly appreciated! Please make sure if works for ASP.NET and ASP.NET Core if possible and make sure it is covered by unit tests.

License

BSD

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 (450)

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

Package Downloads
Coder.Extension

Coder扩展程序,包含:AutoMapper,Log,CsRedis,Swagger(Knife4j),Cors,Autofac,Hangfire,TimedJob,CAP,SqlSugar,Polly(超时,重试,熔断,降级)等扩展服务和中间件。

Ccf.Ck.Libs.Logging

Extends the default nlog library with static methods for logging and default visualization of the logged entries

OrchardCore.Logging.NLog

Orchard Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Provides NLog logging for application.

Solhigson.Framework

Utility Library

atisu.services.common

Package Description

GitHub repositories (68)

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 - Flexible 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
An industrial IoTGateway with B/S architecture that enables bidirectional communication between industrial devices (southbound connections) and IoT platforms (northbound connections). It supports numerous industrial protocols, and can connect to various IoT cloud platforms.
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
6.0.0-rc2 19 6/3/2025
5.5.0 13,355 5/29/2025
5.4.0 2,083,134 2/2/2025
5.3.15 2,084,971 11/21/2024
5.3.14 2,424,115 9/23/2024
5.3.13 308,178 9/12/2024
5.3.12 1,370,275 8/12/2024
5.3.11 3,725,518 5/7/2024
5.3.10 217,007 4/30/2024
5.3.9 101,134 4/27/2024
5.3.8 5,204,130 12/29/2023
5.3.7 744,754 12/6/2023
5.3.5 2,481,418 10/15/2023
5.3.4 1,340,473 9/6/2023
5.3.3 1,035,664 8/6/2023
5.3.2 1,805,591 7/4/2023
5.3.1 69,669 7/1/2023
5.3.0 1,849,277 5/30/2023
5.2.3 3,127,248 3/28/2023
5.2.2 2,079,188 2/17/2023
5.2.1 2,627,267 12/30/2022
5.2.0 1,636,487 11/27/2022
5.1.5 2,448,646 10/25/2022
5.1.4 2,650,355 9/1/2022
5.1.2 100,066 9/1/2022
5.1.1 563,730 8/17/2022
5.1.0 1,444,062 7/18/2022
5.0.0 4,026,573 5/17/2022
4.15.0 1,372,566 6/4/2022
4.14.0 13,523,768 8/28/2021
4.13.0 2,325,556 7/14/2021
4.13.0-readme-preview 42,164 5/3/2021
4.12.0 5,501,002 3/29/2021
4.11.0 1,678,492 2/27/2021
4.10.0 2,645,820 12/30/2020
4.9.3 6,909,373 8/1/2020
4.9.2 5,917,055 4/20/2020
4.9.1 1,254,139 3/30/2020
4.9.0 8,396,577 10/11/2019
4.8.6 445,236 9/30/2019
4.8.5 1,250,225 9/7/2019
4.8.4 1,811,502 7/2/2019
4.8.3 717,089 6/5/2019
4.8.2 1,307,016 5/6/2019
4.8.1 1,660,404 3/18/2019
4.8.0 2,252,152 1/25/2019
4.7.1 663,915 1/6/2019
4.7.0 2,344,034 9/22/2018
4.6.0 917,132 8/5/2018
4.5.4 2,593,472 5/10/2018
4.5.3 140,213 4/29/2018
4.5.2 340,903 4/12/2018
4.5.1 207,786 4/2/2018
4.5.0 99,920 3/27/2018
4.4.1 1,089,761 6/16/2017
4.4.0 94,722 5/14/2017
4.3.1 231,263 2/10/2017
4.3.0 40,424 1/18/2017
4.2.4 19,843 7/3/2016
4.2.3 131,084 5/24/2016