NLog.Web.AspNetCore 6.1.3 (original) (raw)

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:

Supported platforms:

Register NLog as logging provider:

builder.Logging.ClearProviders();
builder.Host.UseNLog();

If logging is needed before the host building, then one can use fluent setup:

var logger = NLog.LogManager.Setup().LoadConfigurationFromAppSettings().GetCurrentClassLogger();

Alternative include NLog.Web.AspNetCore extension in the NLog.config file:

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

Useful Links:

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 is compatible. 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 netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.
.NET Standard netstandard2.0 is compatible. netstandard2.1 was computed.
.NET Framework net461 was computed. net462 is compatible. 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 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.

NuGet packages (497)

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(超时,重试,熔断,降级)等扩展服务和中间件。 455.5K
Ccf.Ck.Libs.Logging Extends the default nlog library with static methods for logging and default visualization of the logged entries 420.4K
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. 395.4K
Solhigson.Framework Utility Library 291.6K
EachShow.Host 主机启动程序 243.3K

GitHub repositories (67)

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

Repository Stars
BeyondDimension/SteamTools 🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。 25.9K
Jackett/Jackett API Support for your favorite torrent trackers 15.6K
JustArchiNET/ArchiSteamFarm C# application with primary purpose of farming Steam cards from multiple accounts simultaneously. 13.4K
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. 8.1K
NLog/NLog NLog - Flexible and Structured Logging for various .NET Platforms 6.5K
cobbr/Covenant Covenant is a collaborative .NET C2 framework for red teamers. 4.7K
ravendb/ravendb ACID Document Database 4.0K
IvanMurzak/Unity-MCP AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for free. 3.2K
ONLYOFFICE/CommunityServer Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator. 3.1K
liukuo362573/YiShaAdmin 基于 .NET Core MVC 的权限管理系统,代码易读易懂、界面简洁美观 2.6K
izhaorui/Zr.Admin.NET 🎉ZR.Admin.NET是一款前后端分离的、跨平台基于RBAC的通用权限管理后台。ORM采用SqlSugar。前端采用Vue、AntDesign,支持多租户、缓存、任务调度、支持统一异常处理、接口限流、支持一键生成前后端代码,支持动态国际化翻译(Vue3),等诸多黑科技,代码简洁易懂、易扩展让开发更简单、更通用。 1.6K
AlphaYu/adnc A pragmatic .NET 8 framework for modular monoliths to evolve seamlessly into distributed microservices. 1.5K
geffzhang/NanoFabric 基于Consul + .NET Core + Polly + Ocelot + Exceptionless + IdentityServer等开源项目的微服务开发框架 1.5K
CoreUnion/CoreShop 基于 Asp.Net Core 9.0、Uni-App开发,支持可视化布局的小程序商城系统,前后端分离,支持分布式部署,跨平台运行,拥有分销、代理、团购、拼团、秒杀、直播、优惠券、自定义表单等众多营销功能,拥有完整SKU、下单、售后、物流流程。支持一套代码编译发布微信小程序版、H5版、Android版、iOS版、支付宝小程序版、字节跳动小程序版、QQ小程序版等共10个平台。 1.4K
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. 1.1K
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/ 975
dotnetzoom/AspNetCore-WebApi-Course 🥇 Professional REST API design with ASP.NET Core WebAPI 936
lysilver/KopSoftWms KopSoft仓库管理系统 891
91270/Meiam.System .NET 8 / .NET 5 WebAPI + Vue 2.0 + RBAC 企业级前后端分离权限框架 809
leeveel/GeekServer 基于.Netcore的开发效率高,性能强,跨平台,持久化层透明,支持不停服热更新的游戏服务器。Best for your unity game server! 794

Include prerelease

Include vulnerable

Include deprecated

Version Downloads Last Updated
6.1.3 594,094 5/5/2026
6.1.2 1,560,902 2/28/2026
6.1.1 763,520 1/31/2026
6.1.0 1,705,567 11/12/2025
6.0.6 162,929 11/9/2025
6.0.5 815,451 10/9/2025
6.0.4 643,233 9/11/2025
6.0.3 876,447 8/10/2025
6.0.2 467,145 7/20/2025
6.0.1 517,555 6/28/2025
6.0.0 242,361 6/21/2025
5.5.0 3,769,967 5/29/2025
5.4.0 8,169,172 2/2/2025
5.3.15 6,152,072 11/21/2024
5.3.14 4,719,488 9/23/2024
5.3.13 500,799 9/12/2024
5.3.12 2,580,007 8/12/2024