dotNetDave Rocks the Cleveland C#/VB.Net User Group

The For Those About to Code: Worldwide Tour 2022 will be at the Cleveland C#/VB.Net User Group on December 22th for the first time! I will be presenting the session below (virtually).

dotNetDave Rocks the Granite State Code Camp

The For Those About to Code: Worldwide Tour 2022 will be at the Granite State Code Camp on November 12th for the second time!

Everything That Every .NET Developer Needs to Know About Disposable Types: Part 3 – Using Tools to Find Issues

This article series emphasizes the importance of understanding memory management and proper usage of the IDisposable interface in .NET code. Part 3 focuses on using various tools and Visual Studio extensions to identify and resolve memory and disposable-related issues in the codebase. While these tools can be helpful, manual analysis and adoption of memory profiler tools are also necessary to uncover all potential problems and improve the overall performance of .NET applications.

Everything That Every .NET Developer Needs to Know About Disposable Types: Part  2 – Properly Implementing the IDisposable Interface

The second part of this article series focuses on the proper implementation of the IDisposable interface for types in .NET that require memory management. It emphasizes the importance of preventing virtual memory leaks and provides a step-by-step guide to implement the IDisposable pattern correctly, including an example template for ease of use. The article also addresses the implementation of IDisposable in types that inherit from other disposable types.

Everything That Every .NET Developer Needs to Know About Disposable Types: Part 1  – Properly Disposing Objects

This article discusses the importance of proper memory management and disposing of objects in .NET development. It highlights the significance of correctly handling IDisposable types to avoid virtual memory leaks, which can lead to performance issues and application failures. The article also provides tips and best practices for identifying and addressing hidden disposable issues to ensure efficient memory utilization and application performance.

Modal Dialog Memory Leak

If you call your form like this:formMyForm formModal = new formMyForm();formModal.ShowDialog(): Make sure you properly dispose of it like this:formModal.Dispose(); Bug Submitted By: David McCarter