I'm so excited to announce that for the first time, the For Those About To Code: World Wide Tour will be at the 2023 Copenhagen Developers Festival in Copenhagen Denmark! I will present my session: Röck Yoür Cöde: Code & App Performance for Microsoft .NET.
Category: Performance
256 Seconds with dotNetDave: Be careful using ContainsKey() with Dictionary Types
In this episode, I will demonstrate the issues associated with using `ContainsKey()` with Dictionary types in Microsoft .NET, which can potentially lead to performance problems. Updated September 2023.
Rock Your Regex: High-Performance Patterns for .NET Developers
Regular expressions (regex) are essential for text manipulation in programming but can be complex. This article explains their fundamentals, applications, and best practices for optimization, particularly using the Regex Source Generator in .NET 7. It highlights performance improvements, practical examples, and the importance of testing AI-generated regex patterns for accuracy.
Source Generators: Making API Calls Easy
In this article, we'll explore how to use the API source generator in .NET 7 to simplify your development process and improve the reliability of your code.
Microsoft .NET Source Generators
Source Generators were introduced in .NET 5 and provide a powerful way to not only generate code but also improve performance. This post will show, by example, how to use the source generators in Microsoft .NET.
Microsoft .NET Source Generators: Speeding up JSON Serialization
This article shows, by example, how to speed up serialization of objects to JSON in Microsoft .NET using the JsonSerializable attribute.
Coding Faster with dotNetTips.com Spargine 6: February 2023 Release
I am pleased to announce the new release (v2023.6.2.1) of Spargine on February 3rd, 2023, my open-source projects, and NuGet packages for .NET 6 & 7. I have added new classes, methods, benchmarks, and unit tests!
Rockin’ the Code World: Special Guest Milan Jovanović
Join me on Saturday, March 18th, 2023, at 10:00 PST on C# Corner for show #76 where, for the first time, my special guest will be Milan Jovanović, Software Architect, and Content Creator. Don't miss this episode!
Public Service Announcement: PMs and Managers Must Ensure Memory Issues are Not Introduced in Microsoft .NET Projects!
I have been writing about this in books and articles since the beginning of Microsoft .NET over 20 years ago. This first PSA is geared toward Project Managers and Development Managers as a warning, so their projects don't suffer from preventable issues like this that I see at every company I work for.
Performance: The Fastest Way to Loop Over an Array in Microsoft .NET
Arrays in Microsoft .NET are one of the fastest collections in the framework. After you read the rest of this article, I’m sure you will need to do some refactoring to speed up your projects.

You must be logged in to post a comment.