Category 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 […]
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 […]
Semanic Logging with Elasticsearch using SemanticLogging.Elasticsearch NuGet package
The Enterprise Library team have released a new Semantic Logging Application Block which now includes an Elasticsearch sink. I have also created a Slab.Elasticsearch NuGet package but do not see the point in supporting this anymore, now that it is part of the SLAB itself. One of the major features which my package was missing, […]
Semantic Logging with Elasticsearch
UPDATE: This NuGet package will no longer be supported as SLAB now supports an Elasticsearch sink. This blog still demonstates how to create a custom sink for SLAB. With the version 1.1 bulk inserts can also be used for custom sinks. See https://damienbod.wordpress.com/2014/04/02/semanic-logging-with-elasticsearch-using-semanticlogging-elasticsearch-nuget-package/ This post demonstrates how to create a Semantic.Logging Sink which adds documents […]
Getting started with Elasticsearch and .NET
At present there are 2 main players in the full text searches for applications. Solr and Elasticsearch. Both are built using Lucene. There’s a lot of dicussion about which is the best, but for me, Elasticsearch provides some better features and seems to be growing faster. I decided to choose Elasticsearch because you require no […]
Creating an MVC5 App with Unity, SLAB and Attribute Routing
This posts explains how to set up an MVC5 application using Unity 3 and Semantic Logging (SLAB). Attribute Routing is used for the controllers. Code: https://github.com/damienbod/MVC5UnitySlab Adding Unity 3 to the MVC5 project Add the NuGet packages to the MVC5 project. Now add the start up logic in the UnityConfig file in the App_Start folder. […]
MVC WEB HTTP, HTTPS Application Monitoring Tools
This is just a collection of links, tools for monitoring, testing, tracing, debugging ASP.NET applications. When I have time I’ll evaluate each of the different tools. Health Monitoring and ASP.NET MVC http://msdn.microsoft.com/en-us/library/bb398933.aspx http://msdn.microsoft.com/en-us/library/x28wfk74.aspx http://odetocode.com/blogs/scott/archive/2009/10/12/health-monitoring-and-asp-net-mvc.aspx http://maxivak.com/asp-net-mvc-error-logging/#health http://mattfrear.com/2011/01/28/mvc3-logging-exceptions/ http://researchaholic.com/2012/10/01/health-monitoring-with-asp-net-mvc/ http://www.asp.net/web-forms/tutorials/deployment/deploying-web-site-projects/logging-error-details-with-asp-net-health-monitoring-cs http://mvolo.com/asp-net-health-monitoring-8-years-later/ http://weblogs.asp.net/awilinsk/archive/2008/12/11/handleerrorattribute-and-health-monitoring.aspx http://blogs.msdn.com/b/erikreitan/archive/2006/05/22/603586.aspx Glimpse http://getglimpse.com/ http://elmah4glimpse.codeplex.com/ http://stackoverflow.com/questions/tagged/glimpse http://www.troyhunt.com/2012/01/aspnet-session-hijacking-with-google.html Wolfpack http://wolfpack.codeplex.com/ http://jimblogdog.blogspot.ch/search/label/wolfpack ELMAH http://beletsky.net/2011/03/integrating-elmah-to-aspnet-mvc-in.html http://www.hanselman.com/blog/ELMAHErrorLoggingModulesAndHandlersForASPNETAndMVCToo.aspx http://code.google.com/p/elmah/ http://dotnetslackers.com/articles/aspnet/ErrorLoggingModulesAndHandlers.aspx Firebug […]