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
⚡️ Just dropped the 5th edition of Rock Your Code: Code & App Performance for Microsoft .NET — the ultimate performance riff for modern .NET devs. Real benchmarks, real speed, real power. Ready to make your code scream? 🤘📈
#dotnet10 #MVPBuzz #CodePerformance
dotnettips.wordpress.com/2026/01/01/r...
Rock Your Code: Code & App Performance for Microsoft .NET (5th Edition)
The fifth edition of David McCarter’s book, “Röck Yöur Cöde: Code & App Performance for Microsoft .NET,” is now available on Amazon. It offers practical techniques for enhanci…
dotnettips.wordpress.com
Hey Visual Studio, quick question: how many “👎 Code Does Not Compile” ratings do you get from #Copilot Chat every day?
Spoiler alert… a good chunk of them are mine. 😄

You know where to find me, I’m a Microsoft MVP. Let’s fix this and make Copilot smarter, not sassier.

@visualstudio.com #MVPBuzz
January 20, 2026 at 10:09 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!
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
January 20, 2026 at 5:31 PM
Shuffling collections isn’t a toy problem. 🪀
In .NET 10, the wrong shuffle can quietly dominate your runtime.
I ran the benchmarks and analyzed the results.
#dotnet10 #MVPBuzz #Collections #CodePerformance
dotnettips.wordpress.com/2026/01/18/c...
Collection Performance: High-Performance Collection Randomization in .NET
The article examines shuffling options in .NET 8, highlighting the performance of three APIs: LINQ.Shuffle(), Random.Shuffle(), and RandomNumberGenerator.Shuffle().
dotnettips.wordpress.com
January 20, 2026 at 4:20 PM
🎤 Mastering the Art of Public Speaking isn’t about perfection—it’s about impact. Even one inspired person makes the effort worth it.
Read my lessons from decades of teaching & speaking. 📣
#PublicSpeaking #RockYourCode #MVPBuzz #Speaking #Teaching
dotnettips.wordpress.com/2025/10/19/m...
Mastering the Art of Public Speaking: Lessons from a Lifetime of Teaching and Sharing
For decades, the author has focused on improving code quality through teaching and speaking, emphasizing the joy of mentoring developers. Despite the shift to virtual formats, they believe in-perso…
dotnettips.wordpress.com
January 20, 2026 at 4:19 PM
🚨 Attention .NET Teams! 🚨
Want a veteran engineer who’s been rocking .NET since day one to review your codebase? I’ve written the books on clean, high-performance .NET code—and I know how to spot trouble fast.
Let’s talk. I can help.
📩 Contact me with your needs!
#MVPBuzz #RockYourCode
January 19, 2026 at 6:00 PM
🎸 Think all methods of getting a string’s length in .NET are equal? Think again.
I benchmarked Span, Length & LINQ Count() to see which one truly shreds on performance.
Read the breakdown here 👇
#dotnet10 #MVPBuzz
dotnettips.wordpress.com/2025/04/20/t...
The Fastest Way to Get a String’s Length in Microsoft .NET
This article analyzes the performance of different methods for retrieving the character count of a string in .NET.
dotnettips.wordpress.com
January 19, 2026 at 3:52 PM
📢 Check out "Microsoft .NET Code Analysis: Types That Own Disposable Fields Should Be Disposable."💡 Learn about the importance of properly handling disposable objects and implementing IDisposable. Don't miss this insightful read! 👇 dotnettips.wordpress.com/2023/07/19/m...
#dotnet #MVPBuzz
Microsoft .NET Code Analysis: Ensuring Proper Resource Management – Implementing IDisposable for Disposable Objects
One persistent issue I have noticed throughout my experience working on projects for the past 12 years is the improper handling of disposable objects and the lack of implementation of IDisposable f…
dotnettips.wordpress.com
January 19, 2026 at 3:51 PM
📢 Excited to share the story of the first magazine article I wrote & the power of networking! Join me on a trip down memory lane as I reflect on my journey. Read the article here. dotnettips.wordpress.com/2020/09/18/g...
#Geekstory #NetworkingPower #dotnet #careerdevelopment #networking
Geekstory: My First Magazine Article & The Power of Networking
Recently, while cleaning out my attic, I stumbled upon a treasure trove of nostalgia from the ’90s. Among the items in a dusty old box was a copy of my very first article, published in a pres…
dotnettips.wordpress.com
January 19, 2026 at 3:51 PM
Boost your .NET regex performance! 🚀 Learn how to optimize regular expressions with caching, source generators, and benchmarking. Get expert tips and best practices in my latest article. Read now: dotnettips.wordpress.com/2023/04/14/p...
#dotnet #CSharp #regex #performance #MVPBuzz
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, parti…
dotnettips.wordpress.com
January 19, 2026 at 3:50 PM
TGIF, software engineers! 🚀 What’s on your weekend agenda: hacking on a side project, leveling up your skills, or unplugging and having some fun? Code, chill, or both?
#RockYourCode
January 16, 2026 at 5:15 PM
Why are most #Microsoft teams still not on Bluesky? Meanwhile, X keeps sinking deeper into the digital sewer. Come on, Microsoft… read the room and get with the program.
January 16, 2026 at 4:36 PM
Hey Microsoft #Azure, you’re making it nearly impossible to find out why my account is about to be deleted when I still have Azure credits from the Microsoft MVP program. This shouldn’t be this hard. Please help!
January 16, 2026 at 4:31 PM
To whoever bought one of my books this week, thank you so much! 🙏 You just helped me get a little closer to upgrading to a new #Surface laptop. Your support truly means the world!
#MVPBuzz #RockYourCode
January 16, 2026 at 4:05 PM
Reposted by David McCarter
Living near San Diego's stunning beaches has gifted me with incredible moments captured on camera! Check out these breathtaking photos from California, Mauritius, Mexico, and more. #BeachLife #Photography #TravelAdventures #SanDiego #Ocean #beaches
davidmccarter.wordpress.com/2023/07/19/p...
Photography: Ocean And Beaches
I have spent the majority of my life residing near the exquisite beaches of San Diego, California. These coastal gems serve as a prominent allure for tourists. While the majority of my photographs …
davidmccarter.wordpress.com
January 16, 2026 at 3:57 PM
“Whoever owns the most data will rule the world.”
That was my tech prediction decades ago. Today, it’s reality. Here’s what that means for all of us—and how to fight back.
#dotNetDave #GeekStory
dotnettips.wordpress.com/2025/10/15/t...
Tech Prediction: The Data Kings Will Rule the World
The author reflects on their successful mid-1990s prediction that data ownership would dictate power. They discuss the present reality, where tech giants utilize data for profit and manipulation. E…
dotnettips.wordpress.com
January 16, 2026 at 3:56 PM
The software community didn’t die—it drifted. But we can bring it back. It's time to stop coding in isolation and rebuild the human side of tech. Connection, mentorship, craftsmanship—it all still matters. Let’s make it matter again. 💻❤️
#DevCommunity
dotnettips.wordpress.com/2025/07/16/t...
The Day the Software Community Died: Let’s Stop Coding in Isolation and Start Creating Community—And Software—People Truly Love
The author reflects on the vital role of the software community in shaping their career as an engineer, emphasizing its decline post-COVID-19. They highlight the diminishing local user groups and c…
dotnettips.wordpress.com
January 16, 2026 at 3:55 PM
📢 Calling all developers! 🚀 Don't miss this eye-opening article on the fundamental importance of code quality in software projects. Learn from real-life experiences and discover valuable resources to level up your coding skills. #CodeQuality #MVPBuzz
dotnettips.wordpress.com/2019/06/24/c...
Code Quality: A Fundamental Feature, Not an Afterthought
The author, as a contractor, observes a worrying trend of poor code quality across projects, often overseen by senior engineers. Despite advocating for clean coding practices through teaching and w…
dotnettips.wordpress.com
January 16, 2026 at 3:53 PM
🚀 Want to speed up counting items in `IEnumerable`? Benchmarking shows `Count()` is the clear winner—69x faster than `Span.Length`! 🔥 Read more on optimizing .NET performance!
dotnettips.wordpress.com/2025/04/16/o...
#Coding #Performance #MVPBuzz
Optimizing IEnumerable Counting in Microsoft.NET: The Fastest Approach Revealed
To count elements in an IEnumerable collection, developers typically use the Count() method from System.Linq. Enumerable, with alternatives like TryGetNonEnumeratedCount() and LongCount() also avai…
dotnettips.wordpress.com
January 16, 2026 at 3:53 PM
Reposted by David McCarter
No, but once I was presented with a complex, broken app and fixed it. I was offered the job but declined as the salary was not enough.
January 15, 2026 at 6:39 PM
Have you ever taken a coding test for a job where you had to build a solution from scratch under tight time limits?
👉Did you finish it all?
👉How did it go?
👉Did you land the job?
Your feedback will help shape an article I’m writing. Let’s connect and share stories!
January 15, 2026 at 6:03 PM
If I earned a dollar every time I built a project in Visual Studio, I'd be a millionaire!
www.zazzle.com/ctrl_shift_b...
#dotnet #VisualStudio #programmer #programming
CTRL-SHIFT-B T-Shirt | Zazzle
"If I had a dollar for every project I built in Visual Studio, I'd be a millionaire!" If this sentiment strikes a chord with you, then you're sure to adore this t-shirt!
www.zazzle.com
January 15, 2026 at 4:04 PM
Boost your .NET apps with the power of Spargine's App class! 🚀 Access optimized methods for app info, environment settings, performance tuning, & more. Check out the GitHub repo and NuGet packages to start enhancing your projects today!
dotnettips.wordpress.com/2024/10/29/b...
#dotNET #MVPBuzz
Boost Your .NET Projects: Unlocking the Power of Spargine’s App Class
Spargine is a collection of open-source assemblies and NuGet packages for .NET 8, crucial for application development. Its App class optimizes various functions, including culture adjustments, envi…
dotnettips.wordpress.com
January 15, 2026 at 4:04 PM
🚀 Is the term "full-stack developer" still relevant in today's diverse tech landscape? 🤔 I share my insights and alternative perspectives in this article. Check it out! dotnettips.wordpress.com/2020/12/02/t...
#Tech #Development #FullStack #RockYourCareer
Rethinking the Full-Stack Developer: Challenges, Realities, and Alternative Perspectives
The article delves into the validity and practicality of hiring “full-stack” developers, addressing concerns about the term’s interpretation and its rapidly evolving demands. The …
dotnettips.wordpress.com
January 15, 2026 at 4:04 PM
🚀 Copilot Visual Studio! From slash commands to auto-generated unit tests, see how Copilot is transforming coding workflows. Dive into the details here: dotnettips.wordpress.com/2024/06/30/u...
#VisualStudio #Copilot #CodeQuality
Unleashing the Power of Copilot: Enhancing Visual Studio with New Slash Commands
In 2024 at Microsoft Build, new Copilot features were introduced in Visual Studio, including helpful slash commands for tasks like adding comments, explaining code, proposing fixes, generating code…
dotnettips.wordpress.com
January 15, 2026 at 4:04 PM
🚀 Is the term "full-stack developer" still relevant in today's diverse tech landscape? 🤔 I share my insights and alternative perspectives in this article. Check it out! dotnettips.wordpress.com/2020/12/02/t...
#Tech #Development #FullStack #RockYourCareer
Rethinking the Full-Stack Developer: Challenges, Realities, and Alternative Perspectives
The article delves into the validity and practicality of hiring “full-stack” developers, addressing concerns about the term’s interpretation and its rapidly evolving demands. The …
dotnettips.wordpress.com
January 15, 2026 at 4:02 PM