High Performance Logging and Custom Objects

Опубликовано: 28 Май 2025
на канале: Shiv Kumar
1,703
60

In this video, we'll talk about a Feature in C#9 .NET 5 that allows for easy High Performance Logging. However, there are some unfortunate drawbacks and a bug that render this feature (that's implemented using Source Generators) somewhat useless. But I show you how you can do this correctly in .NET Core as well as .NET 5. I also show you how to log custom objects in the most efficient and performant way.

Source Code for the Project Discussed in this video:
https://github.com/matlus/HighPerform...

Chapters

00:00 Intro
00:26 What's covered in this Video
05:23 What is the Purpose of an Adaptor
07:44 A Look at the Code
12:20 The Bug related to High-Speed Logging
13:17 The Solution to Logging DTOs of your choosing
20:22 Implementation of TState for a customer DTO