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

  • 134. Getting Started with Aspire for Local Development

    Colin and Yvo discuss how Aspire simplifies local development by orchestrating application environments, automatically connecting services, managing dependencies, and improving onboarding, debugging, and team collaboration.
    Content type
    Video
    134
  • 133. Graph Databases in SQL Server

    Christian and Bram show how SQL Server’s graph database capabilities simplify working with complex relationships, making connected data easier to model, query, and analyze.
    Content type
    Video
    133
  • 132. Antipatterns in test automation

    Bram and Christian discuss test automation pitfalls, urging discipline, less UI logic, backend testing of business rules, and improving stability with better data and environments.
    Content type
    Video
    132

Stay up to date with our Betatalks and tech updates!

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