David McCarter
@dotnetdave.bsky.social
310 followers 85 following 1.8K posts
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
Posts Media Videos Starter Packs
Pinned
dotnetdave.bsky.social
🚀 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
dotnetdave.bsky.social
If you use Microsoft .NET and haven’t visited dotNetTips.com, you’re missing out on thousands of tips, tricks, and expert articles. 🚀 Go now and register to get notified about new content — your code will thank you.
#dotnet #MVPBuzz #RockYourCode
dotnetdave.bsky.social
dotNetDaves AI-generated image of the day. 😆
dotnetdave.bsky.social
Software engineers! What are you up to this weekend? Doing something fun or coding? 🤣
dotnetdave.bsky.social
I agree! I'd rather them work on fixing all the bugs in Office! There are so many.
dotnetdave.bsky.social
Seems they can't fix this either. Maybe Friday is "Close all open tickets day if we don't want to work on them!"
developercommunity.visualstudio.com/t/Visual-Stu...
Developer Community
Developer Community
developercommunity.visualstudio.com
dotnetdave.bsky.social
What?! The Visual Studio team doesn’t think it’s worth fixing Copilot Chat generating XML documentation for the wrong method? That’s completely unacceptable — especially for Extension Members! So, documentation accuracy doesn’t matter anymore? I’m disappointed. 👎
#VisualStudio @visualstudio.com
dotnetdave.bsky.social
Geek Humor: Why did the programmer switch from using #Linux to a different operating system?

Because navigating Linux was like trying to solve a maze blindfolded – every time they found a path, it led straight to another dead end!😆
#humor #geekhumor #SoftwareDeveloper
dotnetdave.bsky.social
🚀 Cloning Objects: Microsoft's JSON serialization tip boosts efficiency! 🔄 Benchmark results: Ref types 1.015x faster than records, and 1.24x more performant than value types. Check it out.
#dotnet #dotnet8 #MVPBuzz #CodePerformance
General Performance Tip: Cloning Various Types
The post discusses the process of cloning different types of objects, with Microsoft recommending the use of JSON serialization for this purpose. The author explores the performance differences in …
dotnettips.wordpress.com
Reposted by David McCarter
thedailyshow.com
The following is REAL footage from Portland, 2025. Viewer discretion is advised.
dotnetdave.bsky.social
Are Software Gremlins Wrecking Your Code?
Turn up the volume and fight back with Rock Your Code: Coding Standards for .NET (20th Anniversary Edition) — the ultimate guide to writing clean, fast, and maintainable code.
🎸 Don’t let chaos win.
🔥 Get your copy on Amazon and start rockin’ today!
dotnetdave.bsky.social
💻 Defensive programming isn’t just about fixing bugs—it’s about preventing them before they happen. Anticipate errors, write resilient .NET code, and save yourself late nights + emergency patches.
#dotNET #RockYourCode #MVPBuz #DefensiveProgramming
dotnettips.wordpress.com/2025/10/08/d...
Defensive Programming with Microsoft .NET: Anticipate Errors and Eliminate Bugs
This discusses the principles of defensive programming to enhance software development. It emphasizes error prevention strategies such as input validation, comprehensive error handling, and assumpt…
dotnettips.wordpress.com
dotnetdave.bsky.social
Yesterday dotNetTips.com didn’t just beat my weekly record—it body-slammed it and doubled the views. Internet, you have great taste. Keep it coming!😉
#RockYourCode #dotnet #MVPBuzz
dotnetdave.bsky.social
It's getting hotter here in TX 😕
dotnetdave.bsky.social
@visualstudio.com what is a .chman file, and why can't Windows open it? I'm confused!
dotnetdave.bsky.social
Great, now in the @visualstudio.com #Copilot Chat, if you use the /doc command, it prints out an explanation of the method, not the XML documentation!

I used two different AI engines, same result.

The Copilot Chat just gets worse and worse. Isn't there a VS release next month? 😲👎
dotnetdave.bsky.social
I need to read this since AI writes pretty bad code!
dotnetdave.bsky.social
Why do you need keys with an app? 💡
dotnetdave.bsky.social
💡 Did you know I’ve been breaking down hundreds of Microsoft .NET Code Analysis settings with real-world, in-depth explanations?
Before heading to Microsoft Learn, check out my articles — they might save you time (and confusion).
Always open to feedback!
bit.ly/DotNetTipsCo...
Code Analysis – dotNetTips.com
Posts about Code Analysis written by dotNetDave
bit.ly
dotnetdave.bsky.social
Microsoft developers! 🚀 Want to iterate over collections efficiently and boost performance? This page is packed with insights to help you write faster code, delight users, and even cut cloud costs. Don't miss out—bookmark it now! 🔥👇
dotnettips.wordpress.com/2024/05/01/c...
#MVPBuzz #dotnet
Collection Performance
These articles delves into performance optimization for collections in .NET, covering topics like looping, sorting, and utilizing different types of objects. The author identified performance varia…
dotnettips.wordpress.com
dotnetdave.bsky.social
These numbers have changed for .NET 10! Stay tuned!