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
For the first time ever, Mexico is the #3 country visiting dotNetTips.com! 🇲🇽
It’s awesome to see so many .NET developers there—welcome to the community!
Are there any developer conferences in Mexico where I could come speak and meet you all?
#dotnet #MVPBuzz #RockYourCode #Mexico
dotnetdave.bsky.social
Learn the best practices for checking strings for null in your code! 💻 Whether it's `== null`, `is null`, or `string.IsNullOrEmpty()`, find out which method to use and why.
#dotnet8 #MVPBuzz #dotnet #CodePerformance
Code It Any Way You Want: Checking Strings for Null
The article discusses best practices for checking strings for null in coding. It outlines three common methods: using == null, is null, or string.IsNullOrEmpty().
dotnettips.wordpress.com
dotnetdave.bsky.social
Boost your .NET collections with Span & MemoryExtensions! 🚀 Learn how to slash memory allocations & boost performance in common tasks like sorting, searching, and reversing. Check out the benchmarks in my latest article!
dotnettips.wordpress.com/2024/10/15/s...
#dotnet #performance #MVPBuzz
Supercharging .NET Collections with Span and MemoryExtensions
This article discusses optimizing code efficiency in .NET using Span and MemoryExtensions for collection operations. It highlights significant performance improvements in common tasks such as findi…
dotnettips.wordpress.com
dotnetdave.bsky.social
It's still in the 90s in Texas 😕
dotnetdave.bsky.social
In 2022, the font size in the prompt box got smaller??? That's not good for us older developers! 👓
dotnetdave.bsky.social
I am really pleased with the performance numbers I am seeing in .NET 10! .NET continues to get faster and faster!
#dotnet10
dotnetdave.bsky.social
.NET 10.0.100-rc.2 SDK has just dropped! I'm downloading now! 🎸
dotnet.microsoft.com/en-us/downlo...
#dotnet
dotnetdave.bsky.social
Oh, I thought that with 2026, they are cutting us off. As long as 2022 works with .NET 10, I'm good. 😀
dotnetdave.bsky.social
🎉 Attention Øredev 2025! 🎉
Want a FREE autographed hardbound copy of my brand-new coding standards book?
Easy: come to my session, grab a seat up front, and keep your phone ready! 📱📖
#RockYourCode #Oredev2025 #CodingStandards
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
I don't know what is going on with VS but it's been struggling for awhile. Stopping Preview in 6 days with issues in 2026, including features are missing and there has been hardlly any testing on it! The current Copilot Chat has so many issues it's really failing. Maybe they should hire an MVP! 😆
dotnetdave.bsky.social
🧑💻 Attention software developers!
Have you or your company tried letting AI generate most of your app or service code?
How did it go — 🚀 amazing, 😐 no change, or 💥 a disaster?
I'm gathering stories for a possible article — share your experiences below or DM me! #SoftwareDevelopment #AI #Coding
dotnetdave.bsky.social
🚨 Developers worldwide — WE'RE LOSING A VITAL TOOL for Visual Studio!
Microsoft is discontinuing the Multilingual App Toolkit (MAT) with no replacement.
If you value global-ready apps, help save MAT now:
🔗 bit.ly/SaveTheMAT
📢 RT to spread the word!
#dotnet #VisualStudio #i18n #SaveTheMAT #MVPBuzz
Developer Community
Developer Community
bit.ly
dotnetdave.bsky.social
🎸 dotNetDave is bringing the No Rest for the Wicked World Tour to Sweden for Øredev 2025! Catch two power-packed .NET performance sessions in Malmö this November — insights, laughs, fun, and flying guitar picks included.⚡
#MVPBuzz #RockYourCode #Oredev2025
dotnettips.wordpress.com/2025/07/11/d...
dotNetDave Rocks ØREDEV DEVELOPERS CONFERENCE 2025
dotNetDave will speak at the Øredev Developers Conference in Malmö, Sweden, from November 5-7, 2025. His session focuses on optimizing .NET code performance, sharing techniques to improve execution…
dotnettips.wordpress.com
dotnetdave.bsky.social
Optimizing Method Returns: Default Keyword vs. Null vs. Empty Collection 🚀 Benchmarks show default is 1.8x faster than null and 3,542x faster than an empty collection! 📊 Learn more.
#dotnet #dotnet8 #MVPBuzz #CodePerformance
General Performance Tip: Optimizing Method Returns
When customizing attributes, Microsoft and I both advise sealing them for clarity and performance. However, benchmark results show sealing attributes to be marginally less performant, with both out…
dotnettips.wordpress.com
dotnetdave.bsky.social
Wow, I just made a mind-blowing discovery in my quest to find the fastest way to write code in .NET 10 — something that’s 7,561,012x faster than alternative approaches with no allocations! I’m not kidding — I verified it twice! Stay tuned to dotNetTips.com
for the full story! 💥💻
#MVPBuzz @dot.net
dotnetdave.bsky.social
Oh great, another "AI" recruiter bot trying to call or email me. Just a heads-up: I’m a software engineer—I build the worms that eat bots like yours for breakfast. Proceed at your own risk. ⚠️
#AIBot #JobHunting #Recruiters
dotnetdave.bsky.social
🚀 .NET string comparison performance matters! Benchmarking shows `Equals(str, StringComparison.OrdinalIgnoreCase)` is fastest—`Compare()` is 2,406x slower! Optimize your code & enforce CA1862. 📈🔍
#dotnet #csharp #performance #MVPBuzz
Microsoft .NET Code Analysis: Best Practices and Performance for Comparing Strings
In .NET, string comparison can be performed using methods like ==, Equals(), and Compare(), each with distinct performance metrics. The most efficient method is Equals() with StringComparison. It&#…
dotnettips.wordpress.com
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