ASP.NET Core logging with NLog and Microsoft SQL Server

added by DotNetKicks
8/17/2016 10:19:17 PM

2 Kicks, 2489 Views

This article shows how to setup logging in an ASP.NET Core application which logs to a Microsoft SQL Server using NLog. Code: https://github.com/damienbod/AspNetCoreNlog The NLog.Extensions.Logging is required to add NLog to a ASP.NET Core application. This package as well as the System.Data.SqlClient are added to the dependencies in the project.json file.


0 comments