I am announcing the 3rd edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. I worked on this book for a big chunk of 2022 so I hope that you and your team will find it useful.
Category: Performance
Rock Your Code: Code & App Performance for Microsoft.NET
Today I am announcing the brand new edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. How fast your code executes is very important for your users and back-end server processes. This is even more important for the future as more and more users, use … Continue reading Rock Your Code: Code & App Performance for Microsoft.NET
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).
Benchmark Your Microsoft .NET Code Like dotNetDave!
Benchmarking is essential for validating code performance, identifying bottlenecks, and enhancing efficiency in .NET applications. It helps developers select optimal algorithms while managing resource costs in cloud environments. Utilizing BenchmarkDotNet alongside the Spargine assembly simplifies setup and improves result accuracy, making benchmarking a critical pre-release step for better overall performance.
Coding Faster with dotNetTips.com Spargine 6: November 2022 Release
I am pleased to announce the new release (v2022.6.11.14) of Spargine on November 14th, 2022, my open-source projects, and NuGet packages for .NET 6 & 7. I have added new classes, methods, benchmarks, and unit tests! I use these in all the projects I work on, including many in production!
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!
Rockin’ the Code World: Special Guest Stephen Toub
Join me on Saturday, October 22h, 2022 at 10:00 PST on C# Corner for show #68 where my very special guest will be Stephen Toub, Partner Software Engineer @ Microsoft. I have been trying to get Stephen on the show since it started so I hope that you will enjoy our pre-recorded episode (since I will be recovering from my India trip).
dotNetDave Rocks the C# Corner Conference 2022
The For Those About to Code: Worldwide Tour 2022 will land in Delhi, India on October 14th - 15th at the C# Corner Conference 2022!
Collection Performance: Processing Collections with Parallel.For() and Parallel.ForEach()
Since .NET 4.0, under the System.Threading.Tasks namespace, processing of collections can be sped up by using Parallel.For() and Parallel.ForEach(). These methods operate with thread-local data that runs in parallel. Both are easy to use and come with different options. This article shows you how to use these methods along with benchmark results.
Speeding Up the StringBuilder Using an ObjectPool
Microsoft .NET's ObjectPool type enhances performance by pooling objects, demonstrated in "256 Seconds with dotNetDave." Utilize StringBuilder with ObjectPool by creating the pool as a field, obtaining and returning StringBuilder, and encapsulating calls with try/finally block. Benchmark results show improved efficiency, except for the Insert() method, with different allocation behaviors.

You must be logged in to post a comment.