Uploaded January 2022 | Updated November 2026, 18 hours ago
In this video I talk about the importance of Disposing the Logger Provider, the Importance of Logging Off the Application Servers such as to Splunk and Application Insights. Finally I go on to introduce the custom In-Memory Logger, and how to register this logger with the Logging Bootstrapper the LoggingBuilder.
Source Code for the Project Discussed in this video:
github.com/matlus/HighPerformanceLoggingAndInMemoryLogger
Chapter Markers
00:00 Intro
01:18 Disposables - When, Why, Who is responsible? - In the context of larger applications
02:50 The Need to Log to Remote Servers (Splunk / ApplicationInsights)
10:59 The Problem With Not Disposing the LoggerProvider
14:43 Fireside Chat Series - 10-15 minutes long
17:01 Customer Logger and Friends
20:22 Starting With the In-Memory Logger
30:38 Test To Ensure you are logging correctly and all relevant information is present
31:25 Introducing the ILoggerProvider Interface
33:43 Introducing the LoggingBuilder Extension Method
34:55 Introducing the LoggingInMemoryFactoryExtension More articles and Programming With Intent chapters: matlus.com
In this video I talk about the importance of Disposing the Logger Provider, the Importance of Logging Off the Application Servers such as to Splunk and Application Insights. Finally I go on to introduce the custom In-Memory Logger, and how to register this logger with the Logging Bootstrapper the LoggingBuilder.
Source Code for the Project Discussed in this video:
github.com/matlus/HighPerformanceLoggingAndInMemoryLogger
Chapter Markers
00:00 Intro
01:18 Disposables - When, Why, Who is responsible? - In the context of larger applications
02:50 The Need to Log to Remote Servers (Splunk / ApplicationInsights)
10:59 The Problem With Not Disposing the LoggerProvider
14:43 Fireside Chat Series - 10-15 minutes long
17:01 Customer Logger and Friends
20:22 Starting With the In-Memory Logger
30:38 Test To Ensure you are logging correctly and all relevant information is present
31:25 Introducing the ILoggerProvider Interface
33:43 Introducing the LoggingBuilder Extension Method
34:55 Introducing the LoggingInMemoryFactoryExtension More articles and Programming With Intent chapters: matlus.com








![C# Flags Enum Explained - Deep Dive
Even if youve defined enums in C# decorated with the [Flags] attribute, youll find this deep dive extremely informative.
In this video I take you under the hood and explain whats really going on and how you can use bitwise operations for enums and treat them as Sets that contain multiple possible values and how to use bitwise operations to answer questions such as
1. Does the set contain X element
2. Add element X to an existing set
3. Remove element X from an existing set
We also explore the bitwise Left Shift operator and how we can use it while defining our enum elements and their values. More articles and Programming With Intent chapters: https://matlus.com/ C# Flags Enum Explained - Deep Dive](https://i.ytimg.com/vi/kztYsmUJNU4/mqdefault.jpg)

