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
Why does Copilot migration recommend keeping NewtonSoft.Json since it's less performant than what is built into .NET? #dotnetconf
dotnettips.wordpress.com/2021/07/20/s...
Serializing Objects: JSON Serialization
The article explores the significance of object serialization into JSON format, comparing Newtonsoft.Json and JsonSerializer in .NET.
dotnettips.wordpress.com
November 12, 2025 at 8:31 PM
#dotnetconf crew! 🤘 Steven Toub dropped a gem yesterday — ArrayPool can seriously speed up array creation. I broke it all down with benchmarks and a real-world demo. Read my article and rock your performance!
#dotnet #MVPBuzz
dotnettips.wordpress.com/2025/10/01/o...
Optimizing Array Performance in .NET: Getting the Most from ArrayPool
ArrayPool optimizes memory usage by providing a thread-safe pool of reusable arrays, significantly reducing allocations and garbage collection pressure, especially in high-performance scenarios. It…
dotnettips.wordpress.com
November 12, 2025 at 6:15 PM
Hot take: every public API should validate enum parameters. Here’s the why, the how, and production-ready helpers (incl. flags). Defensive Programming Rule #2. 👇
#dotnet #MVPBuzz #DefensiveProgramming
dotnettips.wordpress.com/2025/11/09/d...
Defensive Programming Rule #3: Validate Your Enums (Every Time)
Enums enhance code readability but can lead to errors if not validated, as any integer can be cast as an Enum, including invalid values. Validating Enum inputs prevents silent data corruption, ensu…
dotnettips.wordpress.com
November 12, 2025 at 5:07 PM
Want faster hash code generation in .NET? Explore how RuntimeHelpers.GetHashCode() can boost your app's performance by up to 87x! Learn more and check out the new FastGetHashCode() method in Spargine. 🔥
dotnettips.wordpress.com/2024/09/08/o...
#dotnet #CodePerformance #MVPBuzz
Optimizing Hash Code Generation in .NET: A Performance Comparison
This article discusses the importance of hash codes in programming and optimization techniques in Microsoft .NET. It explores different methods for generating hash codes, with RuntimeHelpers.GetHas…
dotnettips.wordpress.com
November 12, 2025 at 5:07 PM
Network calls are expensive. Distance doesn't guarantee speed. Avoid going across the wire unless necessary—and always batch requests. Your app (and your users) will thank you.
#dotNet #PerformanceTips #dotNetDave #MVPBuzz
dotnettips.wordpress.com/2025/05/12/d...
dotNetDave Says… Avoid Going Across the Wire Until Necessary!
Network calls create significant performance bottlenecks in modern applications due to latency and unpredictability. Developers should prioritize chunky communication and batch requests to improve …
dotnettips.wordpress.com
November 12, 2025 at 5:06 PM
Warning: Copilot and AI look slick, but don’t trust everything they spit out. They’re Junior Programmers — smart, but lacking real-world experience and best practices. Someday that’ll change, but for now you still need your own brain and judgment.
#dotnetconf #Copilot #dotnet
November 11, 2025 at 9:33 PM
Am I the only one hearing very faint music playing in the background at #dotnetconf?
November 11, 2025 at 8:25 PM
I know everyone at Microsoft thinks the dark theme is cool, but it can be a real issue for people with color deficiency issues, which affects men more. Please read: dotnettips.wordpress.com/2018/12/06/p...
#dotnetconf
Presenting Code Samples with a Dark Theme… Please Don’t!
For all of you who code using apps like Visual Studio or VS Code, please do not present code in a meeting or conference session using a dark theme! I know I am going to get a lot of pushback from t…
dotnettips.wordpress.com
November 11, 2025 at 8:08 PM
VS2026 didn't bring over any Extensions from 2022 or Insiders :-(
#dotnetconf
November 11, 2025 at 6:49 PM
Reposted by David McCarter
BlueSky all the way
I'm going to try something new today and see whether this is the right spot.

I'm exclusively #dotnetconf spamming on BlueSky!

Should I do this or nah? Repost and let me know.
November 11, 2025 at 12:46 PM
Reposted by David McCarter
#VisualStudio2026 solution load times cut almost in half. Now THAT'S the kind of thing that I want them to work on. I could care less about AI and co-pilot. Give us better VS!!! #dotnetconf
November 11, 2025 at 5:14 PM
Maddy, what the heck is in the bowl on the table in front of you? 😆
#dotnetconf
November 11, 2025 at 6:21 PM
Dustin, Visual Studio has some real issues with Extension Members around CoPilot, documentation and even discoverability. Are those being worked on? 🙏
#dotnetconf
November 11, 2025 at 6:20 PM
Reposted by David McCarter
Guitarists know the truth: you only need 3 chords to rock the world. 🎸
Customize the back with your go-to three — G-C-D, A-E-D, whatever you play loudest.
Grab yours now!
#GuitarLife #MusicianGift #ThreeChordsAndTheTruth
www.zazzle.com/guitarists_o...
www.zazzle.com
November 11, 2025 at 4:28 PM
⚠️ Engineering Managers: If these answers aren’t standard on your team, expect to lose great candidates.
Smart .NET engineers are asking the tough questions now—about code quality, culture, and career growth.
Time to level up.
👇 Read the checklist!
dotnettips.wordpress.com/2025/07/06/a...
Avoid the Wrong Job: The Ultimate .NET Interview Question Playbook
The content provides guidance for Microsoft .NET software engineers preparing for interviews, emphasizing the importance of asking insightful questions to assess a company’s culture, technica…
dotnettips.wordpress.com
November 11, 2025 at 4:27 PM
🚀 Boost your .NET performance tracking with the new PerformanceStopwatch from Spargine! 🕒 Enhance your Stopwatch with additional features for streamlined diagnostics and logging. Check it out and supercharge your projects!
dotnettips.wordpress.com/2025/05/11/b...
#dotnet #Spargine #MVPBuzz
Boost Your .NET Projects: Supercharge Your Performance Tracking with PerformanceStopwatch in Spargine
Spargine is a set of open-source .NET assemblies that includes the PerformanceStopwatch, designed to enhance performance measurement. This tool offers features like lap tracking, alert thresholds, …
dotnettips.wordpress.com
November 11, 2025 at 4:26 PM
Boost your code documentation with the power of Copilot! Dive into my latest article to explore how new slash commands in Visual Studio can transform your XML and code comments. Enhance your projects today! dotnettips.wordpress.com/2024/08/11/m...
#CodeDocumentation #VisualStudio #Copilot
Mastering Code Documentation with Copilot: Enhancing XML and Code Comments in Projects
The article “Unleashing the Power of Copilot: Enhancing Visual Studio with New Slash Commands” discusses the importance of code documentation and the use of Copilot to enhance documenta…
dotnettips.wordpress.com
November 11, 2025 at 4:25 PM
Supercharge your .NET projects with Spargine’s List Extensions! 🚀 Discover powerful methods to optimize your List collection handling, improve performance, and boost reliability. Learn more & contribute to the open-source project!
#dotnet #MVPBuzz
dotnettips.wordpress.com/2025/02/02/b...
Boost Your .NET Projects: Unleashing the Power of Spargine’s ListExtentions
Spargine is a set of open-source .NET 8 packages developed to enhance list functionality through the ListExtensions class. It includes various high-performance methods for action execution, element…
dotnettips.wordpress.com
November 11, 2025 at 4:25 PM
I'm watching .NET Conf, sick, on my couch, under a blanket. It better be good! 😀
@dot.net #dotnetconf
November 11, 2025 at 4:06 PM
Rockin’ Øredev 2025! Had an absolute blast speaking at the Øredev Developers Conference in Sweden. Hit the link for my recap and photos from an epic week. Can’t wait to be back on that stage again! 🎸 🎤
#Oredev2025 #MVPBuzz @oredev.org
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
November 11, 2025 at 9:00 AM
Great! Installed the latest version of Visual Studio Insiders and now none of my benchmark tests will work! So frustrating!
@visualstudio.com
November 10, 2025 at 9:57 PM
Hey, #dotnet community! I'm creating a list of companies that actively use Microsoft .NET so we can show our support by engaging with their businesses. Do you know any great companies using .NET? Drop them in the comments!
dotnettips.wordpress.com/2025/04/02/s...
Supporting Companies That Use Microsoft .NET
The post highlights a decline in Microsoft .NET’s presence in job listings while advocating for companies that still utilize it, such as Ardent Mills, GEICO, and Peloton. It also notes compan…
dotnettips.wordpress.com
November 10, 2025 at 4:14 PM
Unlock the power of type conversion in #programming! 🚀 This article compares traditional syntax with the 'as' keyword in .NET, revealing insights on readability and performance. Check it out. dotnettips.wordpress.com/2024/05/10/g...
#dotnet #dotnet8 #MVPBuzz #CodePerformance
General Performance Tip: Type Conversion
This article explores type conversion in programming, comparing the traditional syntax with the newer “as” keyword in .NET. While the “as” keyword improves code readability,…
dotnettips.wordpress.com
November 10, 2025 at 4:04 PM
Tired of looking up .NET date/time formats? I created DateTimeFormat in Spargine so you never have to again. Strongly typed, readable, and built for performance. Your formatting headaches are over!
#dotnet #MVPBuzz #Formatting
dotnettips.wordpress.com/2025/08/10/b...
Boost Your .NET Projects: Simplify Date & Time Formatting with Spargine’s DateTimeFormat
The DateTimeFormat type in Spargine simplifies date and time formatting for .NET developers. It provides a strongly typed set of options, reducing the need to memorize format strings. Available thr…
dotnettips.wordpress.com
November 10, 2025 at 4:04 PM