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

In part 1 of this series of this article, I talked about that it is very critical for every developer to know exactly how memory management works in the .NET runtime. In part 2 I showed how to implement the IDisposable interface for your types. In this article, I am going to discuss how to find these issues in your code by using tools and Visual Studio extensions.

Serializing Objects Performance: XML Serialization

XML serialization has been around ever since .NET was released since it was so widely used back then. It’s still widely used, especially for legacy applications and services, even iTunes still uses XML to store library information. Benchmark results are for .NET 5 & 6.

Reference Type & Structure Performance: Normal vs Static Methods

Most of the code analysis tools, including tools from Microsoft, recommends creating static methods if possible, stating performance as one of the reasons. But are static methods more performant than normal non-static methods? This articles shows your which is more performant!