Debugging an MVC call

Sometimes, when trying to debug an MVC method, you need to inspect what the app is receiving from the client. You could use a sniffer, like WireShark, but I believe there is an easier way. The Problem Some time ago I was tasked with integrating with a third […]

Dependency Injection in a Console App

I create a lot of Console applications, mainly for prototypes or small one-off jobs, but sometimes I want to to do more. For those applications I want to use Dependency Injection and things like appsettings and Entity Framework. To save time on trying to remember how to do […]

Adding Log4Net to .Net Core

Log4Net has become somewhat a de facto standard for logging in .Net applications, and I personally have used it in nearly every application I’ve written for quite some time. Although .Net Core does have some baked in logging, if you prefer to use Log4Net (or need to), then […]

Ceating a Log4Net Screen Appender

This article is about how to output the logging from Log4Net to a textbox. It assumes a basic knowledge of Log4Net. Create a Custom Appender Create this class in your project, it will automatically get picked up by the Configurator. This class implements the log4Net base appender and […]