Tag Archives: Logging
.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 2020-01-12 Updated to .NET Core 3.1, NLog.Web.AspNetCore 4.9.0 2018-04-04 Updated to NLog.Web.AspNetCore 4.5.1, ASP.NET Core 2.0 Other posts in this series: ASP.NET Core logging with NLog and Microsoft SQL Server ASP.NET Core logging with NLog […]
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 […]
ASP.NET Core logging with NLog and Elasticsearch
This article shows how to Log to Elasticsearch using NLog in an ASP.NET Core application. NLog is a free open-source logging for .NET. Code: https://github.com/damienbod/AspNetCoreNlog 2020-01-12 Updated to .NET Core 3.1, NLog.Web.AspNetCore 4.9.0 2018-04-04 Updated to NLog.Web.AspNetCore 4.5.1, ASP.NET Core 2.0 2017.02.08 Updated to NLog.Web.AspNetCore 4.3.0 and VS2017 RC3 17.12.2016 Updated to ASP.NET Core 1.1 […]
ASP.NET Core logging with NLog and Microsoft SQL Server
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 2020-01-12 Updated to .NET Core 3.1, NLog.Web.AspNetCore 4.9.0 2018-04-04 Updated to NLog.Web.AspNetCore 4.5.1, ASP.NET Core 2.0 2017-02-08 Updated to NLog.Web.AspNetCore 4.3.0 and VS2017 RC3 2016-12-17 Updated to ASP.NET Core 1.1 NLog posts […]
SignalR Messaging a complete client with a Console Application
This post continues on from: SignalR Messaging, a more complete server with a Console Application Now the client will be developed with some error handling and proper logging. This example is a robust client, which can restart or handle any client, server events. Code: https://github.com/damienbod/SignalRMessagingErrorHandling.git A base Hub client class is created, so that each […]
Creating a silent msi for Semantic Logging OUT-OF-PROCESS service using WiX
In a previous blog, the OUT-OF-PROCESS Semantic Logging service was installed from hand. (Power shell script and xml configuration). Enterprise Library 6, Semantic Logging, Part 2, OUT-OF-PROCESS A typical end user cannot be expected to do this. It would be better, if an msi could be created so that a fully pre-configured service can be […]