David McCarter
banner
dotnetdave.bsky.social
David McCarter
@dotnetdave.bsky.social
David McCarter is a Microsoft MVP, Solutions Architect, code quality expert, consultant, professional code reviewer, speaker, and author with 25+ years in software engineering.
https://bit.ly/davidmvp
https://dotnettips.com
Pinned
🚀 It’s here: Rock Your Code (20th Anniversary, 9th ed.)—my definitive .NET 10 coding standards. Cleaner, faster, more maintainable C# for teams that ship. Get it on Amazon! #dotnet #CSharp #RockYourCode #MVPBuzz #dotnet #dotnet10
bit.ly/CodingStanda...
Rock Your Code: Coding Standards for Microsoft .NET (20th Anniversary Edition)
The 20th Anniversary Edition of Rock Your Code: Coding Standards for Microsoft .NET, authored by David McCarter, is now available on Amazon. This comprehensive guide offers updated standards for .N…
bit.ly
🚀 New Spargine drops on NuGet today!
• Spargine 8 update
• Spargine for .NET 10 (brand new!)
• Spargine Global Dev Tool update

Go build faster. 🔥
#dotnet #dotnet10 #MVPBuzz #Spargine
January 1, 2026 at 5:00 PM
🎸 Happy New Year, .NET devs! Here’s to a killer 2026 — let’s crank up performance and rock your code even harder this year! ⚡
#RockYourCode
January 1, 2026 at 6:00 AM
Yeah! Thanks for that!😡
"I apologize for the complications with the automated edits. The file manipulation created cascading duplicates that require manual intervention to clean up properly."
#Copilot @visualstudio.com
December 31, 2025 at 9:56 PM
Well… my loyal 8-year-old Surface Laptop has finally rocked its last riff. 🎸💻
If my books, website, or sessions have helped you, please consider grabbing one of my books on Amazon. Your support helps fund the next laptop — and more content for you all. 🙏
dotnettips.wordpress.com/rock-your-co...
Rock Your Code
Elevate your coding skills with my books, offering insights and best practices from over 30 years of software engineering expertise. They focus on writing high-quality, performant, and maintainable…
dotnettips.wordpress.com
December 30, 2025 at 5:30 PM
Reposted by David McCarter
Looking for software engineering resources?

Every weekend I publish a FREE newsletter discussing software engineering and dotnet topics.

Each newsletter touches on general software engineering to get you thinking as well as linking out to some useful learning resources.

Each issue discusses:
December 29, 2025 at 10:00 PM
I like the feedback I get from AI!
"Just say the word — and congrats again on the Spargine .NET 10 launch 🚀" 😀
December 30, 2025 at 12:55 PM
.NET developers: The 5th edition of Rock Your Code: Code & App Performance for Microsoft .NET releases in 3 days.
Featuring results from thousands of benchmark tests, this book is essential reading for writing high-performance .NET code.
#dotnet10 #MVPBuzz
December 29, 2025 at 6:15 PM
🎸 .NET devs — get ready to crank it up! Spargine for .NET 10 launches in 3 days.
Faster. Leaner. Meaner.
Register at dotNetTips.com to get the release alert! ⚡
#dotnet10 #MVPBuzz
December 29, 2025 at 6:00 PM
Calling all .NET performance nerds: My 5th Edition code performance book drops on Amazon January 1, 2026—built on thousands of benchmark tests. If you want the details as they roll out, register on dotNetTips.com and get notified.
#MVPBuzz #dotnet10
December 29, 2025 at 5:30 PM
Reposted by David McCarter
📸 Witnessed the ultimate boss monkey guarding its meal during my trip to Mauritius! Check out this captivating photo and more from my travels: davidmccarter.wordpress.com/2024/03/21/p...
#Mauritius #photography #monkey #animal #travel
Photography: The Boss
During a visit to Mauritius in 2018, I encountered assertive monkeys at a temple, with one nicknamed “The Boss” guarding its meal. A captivating photograph of this moment is available f…
davidmccarter.wordpress.com
December 29, 2025 at 4:28 PM
🚨 New Series! 🚨
Introducing UX Chronicles: Engineering Experience That Doesn’t Suck — because bad UX is costing us users, jobs, and sanity.
Let’s fix it. One real-world example at a time.
Read the first article!
#UserExperience #MVPBuzz
dotnettips.wordpress.com/2025/06/25/u...
UX Chronicles: Why Developers Should Care About User Experience (Yes, You!)
User Experience (UX) focuses on the emotional and practical interactions users have with software. It emphasizes designing with the user in mind, which is often overlooked by engineers and managers…
dotnettips.wordpress.com
December 29, 2025 at 4:27 PM
.NET developers, are you aware of the most efficient approach to generate random numbers in .NET 8? Explore the latest version of this article to uncover the answer!
dotnettips.wordpress.com/2024/03/27/g...
#dotnet #CodePerformance #dotnet8 #MVPBuzz
General Performance Tip: Generating Random Numbers
.NET’s Random type has been a popular choice for generating random numbers. However, using RandomNumberGenerator for this purpose can result in a six-fold performance improvement, as shown in…
dotnettips.wordpress.com
December 29, 2025 at 4:26 PM
Is it always better to use Any() over Count() in #dotnet? I analyze #CA1827 and benchmark the performance of Count(), Any(), and LongCount() for checking if an IEnumerable contains items. The results will surprise you! Check it out!
dotnettips.wordpress.com/2025/03/26/m...
#MVPBuzz #dotnet10
Microsoft .NET Code Analysis: Optimizing Collection Examination
This content discusses four methods for evaluating items in a collection using predicates or filters, mainly focusing on the LINQ Any() method. It highlights the performance of Count() as superior …
dotnettips.wordpress.com
December 29, 2025 at 4:26 PM
Boost .NET app performance by caching JsonSerializerOptions! 🚀 1.34x faster serialization + reduced memory allocation. Learn how to optimize & avoid #CA1869 violations.
dotnettips.wordpress.com/2025/02/26/m...
#dotnet #codeperformance #MVPBuzz
Microsoft .NET Code Analysis: Optimizing JSON Serialization with Cached Options
XML has been replaced by JSON as the primary serialization format. Using the JsonSerializer in .NET offers performance advantages, particularly when caching JsonSerializerOptions. This method enhan…
dotnettips.wordpress.com
December 29, 2025 at 4:25 PM
Happy Holidays to all the Geeks out there 🤘
Much love from dotNetTips.com and dotNetDave.
Eat. Drink. Be Merry.
2026 is about to turn the volume up—Rock Your Code! 🎸🔥
#RockYourCode #MVPBuzz #dotnet
December 25, 2025 at 6:15 AM
Installed macOS Sequoia and #OneDrive now feels like it’s syncing over dial-up. Outstanding work, everyone. Really boosting productivity here. 💀📉
December 24, 2025 at 8:29 PM
Do you hate dealing with nulls in your code? Tired of the bugs and headaches they cause when not handled properly? Make a statement and let your fellow developers know where you stand—grab the "No Nulls" t-shirt today!
www.zazzle.com/no_null_t_sh...
#NoNull #SoftwareEngineers #Programming #MVPBuzz
No Null T-Shirt | Zazzle
Do you hate nulls in your code? Then show that to your fellow geeks!
www.zazzle.com
December 24, 2025 at 5:00 PM
🎄 Dear Santa,
Bring me the Rock Your Code – Copilot Monkey plush 🐒
Actually—bring two.
One to guard my home rig.
One to oversee production code.
Smiles guaranteed. Bugs… slightly intimidated. 🎸💥
#MVPBuzz #Copilot
December 24, 2025 at 7:15 AM
#OneNote on my iPhone hasn’t updated since August! #Fail.
December 23, 2025 at 11:49 PM
.NET Devs! Check out the Spargine Dev Tool—because you deserve a faster, cleaner system. Backup your source files in a snap and get rid of those pesky cached/temp files that are probably slowing you down. Don’t be that dev—download it today!
#MVPBuzz #dotnet
dotnettips.wordpress.com/2023/02/24/s...
Spargine Dev Tool: For Microsoft .NET Developers
In 2016, the Spargine Dev Tool was launched to aid Microsoft .NET developers. Key features include automatic cleanup of residual files to resolve build issues and a secure source code backup system…
dotnettips.wordpress.com
December 23, 2025 at 5:41 PM
Teaching Copilot .NET 10 again. 😡
Fixing its “unit tests” again. 😡
AI is amazing—right up until you need it to actually know .NET.
@visualstudio.com #Copilot
December 23, 2025 at 5:39 PM
🔥 Dio didn’t do ballads—he did anthems.
Do the same with your code at dotNetTips.com.
Thousands of articles on quality, performance, and doing it RIGHT.
No filler. No noise. Just pure code metal. 🤘🎶
#RockYourCode #dotnet #MVPBuzz
December 23, 2025 at 5:15 PM
Avoid wrist pain from long hours at the computer! 💻 I switched to an ambidextrous mouse & trained my left hand—game changer. Check out my tips for preventing carpal tunnel.
dotnettips.wordpress.com/2020/08/21/s...
#DevHealth #CTS #WorkPainFree #SoftwareEngineers
Staying Healthy Tip: How to Keep Your Wrists Pain-Free!
The author shares their struggle with carpal tunnel syndrome (CTS) due to repetitive wrist use in programming. They detail symptoms, risks, and effective management strategies such as using a left-…
dotnettips.wordpress.com
December 23, 2025 at 4:03 PM
Unlock a small but powerful #performance boost in your .NET loops! 🖥️💡 Learn how caching array length can optimize iteration speed. Perfect for code running thousands of times daily! 🚀
dotnettips.wordpress.com/2024/09/24/c...
#CodingTips #dotNET #Programming #MVPBuzz #CodePerformance
Boosting Loop Performance in .NET: The Simple Trick of Caching Array Length
The post discusses optimizing array iteration in programming by caching the array’s length for performance improvements. This method yields a 1.021x performance boost, particularly beneficial…
dotnettips.wordpress.com
December 23, 2025 at 4:02 PM
Boost your .NET projects with Spargine’s latest Assembly Extensions! Dive into enhanced type discovery and instantiation with our open-source assemblies. 🔗
dotnettips.wordpress.com/2024/09/22/b...
🎉 #dotnet #opensource #programming #MVPBuzz #Spargine
Boost Your .NET Projects: Unleashing the Power of Spargine’s Assembly Extensions
Spargine, an open-source tool for .NET 8, offers enhanced methods like GetAllInterfaces, GetAllTypes, GetInstances, and GetTypes. These methods improve performance and reliability, with benchmark r…
dotnettips.wordpress.com
December 23, 2025 at 4:02 PM