Use NLog in ASP.NET Core application

For ASP.NET Core, you need NLog.Web.AspNetCore – which has a dependency on NLog.Extensions.Logging. Note: Microsoft.Framework.Logging.NLog has been replaced by NLog.Extensions.Logging on NuGet, which is maintained by the NLog team. How to use: Setup NLog needs to be enabled so it will integrate into the DI and log API of ASP.NET Core. This will result that … Read more