95. .NET Essentials: Logging in .NET (Part 1)

Content type
Video

95. .NET Essentials: Logging in .NET (Part 1)

Steven and Gerben talk about logging in .NET in this two-part episode. During this first part, they demonstrate how to use Microsoft's Logging Extensions in a demo ASP.NET Core project with minimal API's in C# 8. They talk about logging fundamentals using structured messages and the LoggerMessage attribute, using log properties to customize logging, and ignoring properties for security reasons. They explain Tag Providers as a way to separate logging functionality from business entities. Steven emphasizes that separating concerns like logging from domain models is an important practice.

Links for more information:

More videos

Stay up to date with our Betatalks and tech updates!

Sign up and receive a biweekly update with the latest knowledge and developments.