Reference Type & Structure Performance: Disposable Types

The article emphasizes the critical importance of addressing IDisposable issues in code assessments, highlighting common problems such as virtual memory leaks, unreleased file handles, and escalated database connections. The author provides solutions to two prevalent issues: neglecting to call Dispose() on disposable types and failing to implement the IDisposable interface. Additionally, the author introduces three extension methods from their open-source assembly, Spargine, designed to simplify the disposal of types and mitigate potential memory issues in large collections.

My Keynote from the Code Quality & Performance Conference – 2021

On June 18th, 2021 I gave the keynote speech titled "7 Important Requirements for Any Successful Project" at the Code Quality & Performance Conference hosted by C# Corner Live, which I also hosted. We had an amazing lineup of speakers and it was a big hit! My keynote summed up many of the topics that … Continue reading My Keynote from the Code Quality & Performance Conference – 2021

Code Quality & Performance Virtual Conference – 2021

I'm so happy to announce I will be hosting the worlds first code quality and performance virtual conference that will be streamed by C# Corner Live on June 18th that starts at 10 am EST. I have been wanting to do a conference like this for over 10 years and I'm so excited to finally … Continue reading Code Quality & Performance Virtual Conference – 2021

New Code Rules: Is Agile Working?

For show #23 of Rockin' the Code World with dotNetDave I started a new segment called New Code Rules. Each week I will do a commentary on something I feel that needs to be done better so that we can delivered high quality applications for customers. For this show I am asking the question, "Is … Continue reading New Code Rules: Is Agile Working?

Rockin’ The Code World with dotNetDave – Special Guest: Andy Schwam

Join me live on Saturday, May 1st, 2021 at 10:00 PST on C# Corner for season 2, show #23 where I will interview Andy Schwam, Microsoft MVP, AVP Application Development. Send me your questions for Andy by tweeting it to @realDotNetDave and #RockinCodeWorld. You can also email your questions to: rockincodeworld@c-sharpcorner.com Schedule Introduction Prize Give-a-ways! … Continue reading Rockin’ The Code World with dotNetDave – Special Guest: Andy Schwam

Open-Source Code Quality – Foundatio

How important is code quality to your team? It should be at the top of the list, not only to make your customers happy but make your team happier when bugs arise and when features need to be added. Putting quality in your code in the future is a lot more expensive than doing it … Continue reading Open-Source Code Quality – Foundatio

Everything You Want to Know About the Record Type in .NET… But Were Afraid to Ask

In January 2021, the record class was introduced in .NET 5, simplifying the creation of immutable classes and reducing boilerplate code. Record types offer effortless implementation of equality methods, optimal performance for DTOs, and automatic generation of hashing and string representation functions. Adopting these features enhances coding efficiency and maintenance.

Open-Source Code Quality – ChoETL

How important is code quality to your team? It should be at the top of the list, not only to make your customers happy but make your team happier when bugs arise and when features need to be added. Putting quality in your code in the future is a lot more expensive than doing it … Continue reading Open-Source Code Quality – ChoETL

Rock Your Code :Coding Standards for Microsoft .NET – 7th Edition

I'm excited to announce the 7th edition of my coding standards book for Microsoft .NET! This book is a compilation of common Microsoft .NET coding standards in use today. In the past, for languages like Visual Basic, Microsoft published coding standards in a single document that developers could follow or use as a basis to … Continue reading Rock Your Code :Coding Standards for Microsoft .NET – 7th Edition

Analyzing Code for Issues in .NET 5

How do you find issues in your code? Many of these rules have been ingrained in my brain for the over 20 years I have been using .NET, but I still need to use tools to speed up this process or to find the ones I miss. Using a tool like Analyze in Visual Studio will … Continue reading Analyzing Code for Issues in .NET 5