Rock Your Code: Code & App Performance for Microsoft.NET – 3rd Edition

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.

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 your app or services. Thinking about performance while you are first writing the code will save tons of time and money in the future! There are many ways to write the same block of code, some more performant than others.

Short of requiring your users to purchase faster machines with more memory and faster processors or the same for back-end servers, this book will show you the best practices when writing business applications, so your code can run as fast as possible and could lead to cost savings for your servers or cloud services.

This book discusses and shows common code performance guidelines for Microsoft .NET with example code. Topics include general tips, string performance, reference type & structure performance, collection performance, internationalization & localization, serializing objects, how to analyze code for performance problems, how to benchmark your projects, and more. This new edition of the book includes data from 6,678 benchmark tests and brand-new chapters on how to speed up performance and benchmark your projects using NuGet packages.

This book is written for Microsoft .NET 6 & 7 using Visual Studio 2022. All examples in this book are in C#. Most of these tips should still be valid if you are using an older or newer version of Microsoft .NET.

Click on one of these links to purchase!

If you liked this article, please buy David a cup of Coffee by going here:

Pick up any books by David McCarter by going to

© The information in this article is copywritten and cannot be preproduced in any way without express permission from David McCarter.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.