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
Dear Visual Studio…
Why do some unit tests fail when I click Run All, but pass when I run them individually in Test Explorer?
Same code. Same tests. Different results. 🤔
Anyone else?
@visualstudio.com
December 18, 2025 at 3:51 PM
What is going on with Grammarly? Does not work for Microsoft Word anymore!
December 18, 2025 at 3:27 PM
I don’t know about you, but a lot is broken or missing in Visual Studio 2026 compared to 2022—especially around code quality (yes, including Copilot).

I’m documenting the issues.
What are you seeing that’s broken or gone? Reply and I’ll dig in. 👀
#VisualStudio
December 17, 2025 at 6:21 PM
@visualstudio.com why can't I run MSTest unit tests manually on a class or method? In 2026, it's forcing me to use the Test Explorer 😕
December 17, 2025 at 6:04 PM
🎸 Got a .NET engineer in your life? Turn their coding up to 11!
Grab one of my Rock Your Code books on Amazon and watch their skills go from garage-band to arena-ready.
🔥 Fast.
⚡ Clean.
🎤 Rock-solid.
Give the gift that helps them write code that shreds.
#RockYourCode #dotnet #MVPBuzz
December 17, 2025 at 4:32 PM
If you're a Microsoft .NET developer contemplating the causes of global conflicts, this shirt inspired by Edwin Starr's lyrics is perfect for you! Order now in your preferred color!
www.zazzle.com/war_what_is_...
#dotnet #SoftwareEngineer #GeekSwag #dotnetdave
War? What Is It Good For in C# T-Shirt | Zazzle
If you're a Microsoft .NET developer and find yourself pondering the reasons behind global conflicts, then this shirt is perfect for you! Inspired by the lyrics of Edwin Starr, this console…
www.zazzle.com
December 17, 2025 at 4:31 PM
@visualstudio.com 2026 Copilot Chat: Why can't I target a method using '#' anymore? 😡
December 17, 2025 at 4:30 PM
Just updated @visualstudio.com 2026 and now Copilot Chat is documentating the wrong methods again! 😡
December 17, 2025 at 4:11 PM
What do you prefer in IntelliSense—official .NET method docs, or the clearer, more complete version from my OSS Spargine?

C’mon .NET team… lead by example.

#dotnet @visualstudio.com
December 17, 2025 at 3:55 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 16, 2025 at 5:45 PM
UX isn’t optional — even for AI.

I broke down the growing stability + usability issues with Sora and ChatGPT, and why OpenAI desperately needs seasoned engineers and real UX leadership.

If tech is going to shape the future, it has to work.
dotnettips.wordpress.com/2025/12/14/u...
#OpenAI #Sora
UX Chronicles: When OpenAI’s Magic Meets a Messy User Experience
The author expresses frustration with Sora’s poor user experience and ongoing instability, emphasizing navigation difficulties, session issues, and prolonged outages. Despite Sora’s imp…
dotnettips.wordpress.com
December 16, 2025 at 4:31 PM
🔍 Just like a thorough home inspection is essential for a safe home, rigorous independent QA is crucial for software integrity. Don't let your code go untested—ensure reliability and security with dedicated QA. dotnettips.wordpress.com/2024/08/18/t...
#QualityAssurance #SoftwareEngineering
The Vital Role of QA: Why Independent Testing is Essential for Software Integrity
In the world of real estate, rigorous inspections are essential for a safe and functional home. Similarly, in software development, Quality Assurance (QA) plays a crucial role in testing software f…
dotnettips.wordpress.com
December 16, 2025 at 4:27 PM
Struggling with NuGet hell in Visual Studio? 🚨 In this episode, I show how a simple PowerShell script can fix package errors & DLL conflicts fast! ⚡ Don't let dependencies slow you down—watch now! 🎥👇 dotnettips.wordpress.com/2020/03/21/2...
#dotNET #VisualStudio #NuGet #MVPBuzz
256 Seconds with dotNetDave (E9) – Fixing NuGet Hell Issues in Visual Studio
In this episode, I address NuGet package errors in Visual Studio that hinder project builds. I provide a PowerShell script to resolve these issues and fix DLL conflicts. Don’t let dependency …
dotnettips.wordpress.com
December 16, 2025 at 4:27 PM
What happened to code analysis in Visual Studio 2026? 🤨

All of these VS 2022 features are gone or broken—and somehow there’s no replacement.

Any chance we can get an explanation (and a roadmap) instead of silence?
@visualstudio.com @dot.net #CodeQuality
December 15, 2025 at 7:02 PM
Reposted by David McCarter
You know what's cool? Trying to remember how to implement something and then remembering: Hey, I wrote a blog post about that... somewhere... And then finding the post that I wrote that answers my question.
December 14, 2025 at 10:05 PM
🚀 Boost your .NET code efficiency! Learn best practices for array allocation and improve performance with tips from the .NET team. Check it out!
#dotnet10 #MVPBuzz #CodePerformance #dotnet
dotnettips.wordpress.com/2025/03/05/m...
Microsoft .NET Code Analysis: Creating Empty Arrays
Arrays are popular in .NET for their efficiency. The .NET team recommends avoiding zero-length allocations, opting instead for Array.Empty() or using the [] expression for creating empty arrays. Th…
dotnettips.wordpress.com
December 15, 2025 at 5:45 PM
🚀 Attention .NET devs: On January 1, 2026, the 5th Edition of my code performance book hits Amazon—powered by thousands of benchmarks. Want updates, sneak peeks, and release reminders? Register on dotNetTips.com and I’ll keep you in the loop.
#MVPBuzz #dotnet10
December 15, 2025 at 5:30 PM
dotNetTips.com: One Cup. One Site. Endless Fixes.
#dotnet #RockYourCode #MVPBuzz
December 15, 2025 at 4:45 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
December 15, 2025 at 4:43 PM
.NET devs: did you know using CompositeFormat + Resources can seriously boost performance? 🚀
I filed a request to have Visual Studio auto-generate these so we can all ship faster apps with less effort.
🙏 Please vote + share: bit.ly/VSCompositeF...
December 15, 2025 at 4:41 PM
🚀 Boost Your .NET Projects!
Tired of duplicates sneaking into your ConcurrentBag?
Check out DistinctConcurrentBag in Spargine — a thread-safe way to keep your collections unique & efficient.
#Spargine #MVPBuzz #RockYourCode #dotnet
dotnettips.wordpress.com/2025/09/14/b...
Boost Your .NET Projects: Ensure Thread-Safe Uniqueness with DistinctConcurrentBag in Spargine
DistinctConcurrentBag in Spargine is a thread-safe, unordered collection that ensures uniqueness of elements, preventing duplicates. It offers methods for adding, removing, checking, and enumeratin…
dotnettips.wordpress.com
December 15, 2025 at 4:40 PM
Don't let your next project become a stitched-together nightmare. Avoid building Frankenstein’s Monster applications—cohesive architecture matters more than flashy tech stacks. ⚠️🧟♂️
#dotnet #ApplicationArchitecture #MVPBuzz
dotnettips.wordpress.com/2025/06/15/d...
dotNetDave Says… Don’t Build Frankenstein’s Monster Applications!
The article emphasizes the dangers of creating disjointed software systems, likening them to Frankenstein’s Monster. It warns against overengineering and using mismatched technologies, which …
dotnettips.wordpress.com
December 15, 2025 at 4:40 PM
🚀 Boost your .NET projects with Spargine’s array extensions! Discover powerful methods to enhance performance and reliability. Check out the latest updates and make your code shine. 🌟
🔗 dotnettips.wordpress.com/2024/09/15/b...
#dotnet #opensource #programming #performance #MVPBuzz #Spargine
Boost Your .NET Projects: Unleashing the Power of Spargine’s Array Extensions
Spargine, an open-source .NET 8 toolset, offers a variety of extension methods for arrays. The project’s author emphasizes the benefits of enhanced performance and reliability. Community invo…
dotnettips.wordpress.com
December 15, 2025 at 4:39 PM
Boost your .NET project’s performance with Spargine FastLogger! 🚀 Achieve up to 11x faster logging with ease. Check out my latest guide on how this open-source tool can supercharge your logging framework.
dotnettips.wordpress.com/2024/12/15/b...
#dotNET #OpenSource #MVPBuzz #NuGet
Boost Your .NET Projects: Maximize Your .NET Performance with Spargine’s FastLogger
Spargine is an open-source set of .NET 8 assemblies and NuGet packages, developed since .NET 2, featuring the FastLogger class for efficient logging. FastLogger significantly enhances logging speed…
dotnettips.wordpress.com
December 15, 2025 at 4:39 PM
🚀 Simplify Windows file I/O with Spargine’s FileHelper! Easily copy, move, delete, download, and unzip files with high performance & minimal errors. 🔥 Check out the latest guide.
dotnettips.wordpress.com/2025/03/16/b...
#dotNET #CodePerformance #Spargine #MVPBuzz
Boost Your .NET Projects: Simplify File I/O with Spargine’s FileHelper
Spargine is a collection of open-source .NET 8 assemblies and NuGet packages, maintained since .NET 2. It includes the essential FileHelper for efficient file I/O operations on Windows, offering me…
dotnettips.wordpress.com
December 15, 2025 at 4:38 PM