The Monsters Weekly - Episode 16 - 'Logging Basics in ASP.NET Core'

So, you’re planning on sending your app out into the wild. Have you thought about what is going to happen when things go sideways? How will you recover when the excrement hits the oscillating device? Without having a reliable way to track down what went wrong, you’ll be in the weeds for sure, but logging will help set things right.

In a departure from previous iterations in MVC, the default template is set up and ready to go for logging. Your project will give you fairly detailed information out of the box at a framework level, and all you need is a few small tweaks (and to lean on DI a little bit) to get logging going in your controllers.

Do you have questions? Yeah, so do we! Start a conversation below and we’ll learn together as we go.