Demonstrates an example of async DB logging with NLog and SQL Server in an ASP.NET MVC project.
Also demonstrates error handling and reporting without using third party libraries like ELMAH.
See:
http://www.geoffhudik.com/tech/2013/5/20/aspnet-nlog-sql-server-logging-and-error-handling-part-1.html
http://www.geoffhudik.com/tech/2013/5/24/aspnet-nlog-sql-server-logging-and-error-handling-part-2.html
See Infrastructure\Diagnostics\ for logging and diagnostic info gathering classes.
See configuration/nlog section of web.config for log configruation as well as transforms.
See DB folder for SQL Server DB scripts.
See usages in HomeController, ErrorController, ActionTrackerAttribute and other locations.
Generate batch log statements from home page.
See Infrastructure\ErrorHandling, Global.asax.cs, ErrorController, Views\Shared\Error.cshtml
See configuration\emailSettings in web.config for error report email settings
Generate test errors and responses from home page