ASP.NET Core Logging with the ASP.NET Monsters on Channel 9

There's a great little introduction to structured logging in ASP.NET Core with Serilog and Seq on Channel 9 today.

A few notes on the show:

  • If you're running Seq in ASP.NET Core, you should add Log.CloseAndFlush() at the end of Main() to make sure any buffered events are flushed
  • The green "tick" marks next to Seq property names let you drill down into a correlation id without typing it manually into the filter bar

Thanks ASP.NET Monsters for the great video!