Monthly Archives: March 2017

.NET Core, ASP.NET Core logging with NLog and PostgreSQL

This article shows how .NET Core or ASP.NET Core applications can log to a PostgreSQL database using NLog. Code: https://github.com/damienbod/AspNetCoreNlog Other posts in this series: ASP.NET Core logging with NLog and Microsoft SQL Server ASP.NET Core logging with NLog and Elasticsearch Settings the NLog database connection string in the ASP.NET Core appsettings.json .NET Core logging […]

ASP.NET Core Error Management with elmah.io

This article shows how to use elmah.io error management with an ASP.NET Core application. The error, log data is added to elmah.io using different elmah.io nuget packages, directly from ASP.NET Core and also using an NLog elmah.io target. Code: https://github.com/damienbod/AspNetCoreElmah elmah.io is an error management system which can help you monitor, find and fix application […]

Testing an ASP.NET Core MVC Protobuf API using HTTPClient and xUnit

The article shows how to test an ASP.NET Core MVC API using xUnit and a HTTPClient client using Protobuf for the content formatters. Code: https://github.com/damienbod/AspNetCoreMvcProtobufFormatters Posts in this series: ASP.NET Core Using Protobuf Formatters Testing an ASP.NET Core MVC Protobuf API using HTTPClient and xUnit 2017-08-17 Updated ASP.NET Core 2.0 The test project tests the […]

.NET Core logging to MySQL using NLog

This article shows how to log to MySQL in a .NET Core application using NLog. Code: https://github.com/damienbod/AspNetCoreNlog NLog posts in this series: ASP.NET Core logging with NLog and Microsoft SQL Server ASP.NET Core logging with NLog and Elasticsearch Settings the NLog database connection string in the ASP.NET Core appsettings.json ASP.NET Core, logging to MySQL using […]