There are several ways to get a string’s character count in .NET… but they don’t all perform the same. Span, Length, LINQ—each tells a different story. 👀
See which approach comes out on top 👇
#dotnet10 #MVPBuzz #CodePerformance
dotnettips.wordpress.com/2021/09/22/s...
Exposing arrays via properties is fast—but breaks encapsulation and violates CA1819. Collections are safer and future-proof. I keep CA1819 as a warning in my .editorconfig.
More details 👇
#dotnet10 #MVPBuzz
dotnettips.wordpress.com/2024/01/26/c...
Structures don’t come with == or != out of the box—so if you’re using value types, you’ve gotta wire them up yourself. 💪
A quick operator overload + a refactoring tool like CodeRush = done in seconds.
#MVPBuzz #dotnet10
dotnettips.wordpress.com/2021/07/18/r...
🗂️ New: Modernizing .NET – Part 15
JSON fails with circular objects. Protobuf-net can’t fix recursive graphs.
Here’s a custom ASP.NET Core Session Store that can.
Read → medium.com/@michael.kop...
#DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #Middleware #SessionState
🚀 Boost your .NET 10 projects with faster, allocation-free byte array conversions! Learn how to to write cleaner, high-performance code for real-time data and binary processing.
#dotnet #dotnet10 #CodePerformance #RockYourCode
dotnettips.wordpress.com/2025/09/07/b...
🎸 .NET devs — stop wrestling with reflection like it’s a busted amp. Spargine’s TypeExtensions cranks your type + metadata game to 11 ⚡ Cleaner code. Fewer bugs. More power. Rock your runtime + ship faster with confidence.
dotnettips.wordpress.com/2024/12/08/b...
#dotnet10 #OpenSource #MVPBuzz
Crank up your .NET concurrency! 🎸
DistinctBlockingCollection<T> in Spargine gives you thread-safe performance and guaranteed uniqueness — no more duplicate work in your queues.
#dotnet10 #MVPBuzz #Multithreading
dotnettips.wordpress.com/2025/06/08/b...
Exciting news for .NET developers! Learn how to simulate extension properties with state in .NET using ConditionalWeakTable. Get the details on how you can track exceptions and more in this latest article! #dotnet #CSharp #extensionmethods #dotnet10 #MVPBuzz
dotnettips.wordpress.com/2025/06/06/a...
Boost your unit testing with Spargine's UnitTester class! Streamline your workflow by logging and saving unit test data to Debug output or files with powerful methods like PrintToDebug and SaveToFile. Perfect for debugging and reporting.
#dotnet10 #MVPBuzz
dotnettips.wordpress.com/2025/06/04/b...
Hashing performance in .NET isn’t just about algorithms—it’s about avoiding hidden allocations, unnecessary conversions, and bad patterns that quietly kill throughput.
If you’re hashing anything at scale, this one matters. 👇
#dotnet #dotnet10 #MVPBuzz
dotnettips.wordpress.com/2024/03/08/g...
⚡️ 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
dotnettips.wordpress.com/2026/01/01/r...
🚀 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...
🚀 Boost your .NET projects for the upcoming .NET 10 release!
Learn the fastest way to find an item’s index in an array—and why your current method might be slowing you down.
#dotnet #dotnet10 #arrays #RockYourCode
dotnettips.wordpress.com/2025/08/31/b...
🧩 New: Modernizing .NET – Part 14
WebHost still works, but WebApplication is better.
Here’s how to migrate your ASP.NET Core app to the modern hosting model.
Read → medium.com/@michael.kop...
#DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #Middleware
🎸 Coding faster just got louder — Spargine 10 for .NET 10 is out now! New APIs, big perf wins, tons of benchmarks. Grab the release + keep your code blazing fast 🔗
#dotnet10 #MVPBuzz #RockYourCode
dotnettips.wordpress.com/2026/01/06/c...
🎸 Make data validation in .NET feel like a killer rhythm section — Spargine’s Validator takes the grunt work out of checks so you can code faster, cleaner, and safer every time. 👇
#dotnet #dotnet10 #Spargine #MVPBuzz #DataValidation
dotnettips.wordpress.com/2025/05/28/c...
🚀 Level-up your .NET game! Just dropped a new article on TypeHelper in Spargine — your backstage pass to cleaner reflection, faster type discovery, and rock-solid runtime magic. 🎸
Dive in & power up your code
#dotnet10 #Spargine #MVPBuzz
dotnettips.wordpress.com/2025/05/21/b...
That innocent-looking dictionary lookup in your .NET code?
Yeah… it might be doing double the work in hot paths.
I break down the anti-pattern, the analyzer warnings, and why it matters.
#dotnet #dotnet10 #MVPBuzz
dotnettips.wordpress.com/2024/05/29/m...
Correcting Common Async/Await Mistakes in .NET 10 - Brandon Minnick - NDC London 2026
buff.ly/4KWZDgS
#dotnet #ndc #async #csharp #dotnet10
🎸 Stop writing argument checks the hard way — Spargine’s Validator makes validation fast, clean, and bullet-proof so your .NET code stays lean and mean. 👇
#dotnet #dotnet10 #Spargine #MVPBuzz #DataValidation
dotnettips.wordpress.com/2025/05/25/c...
🎸 Working with objects in .NET? Spargine’s ObjectExtensions turns everyday coding into a headlining act — deep cloning, hashing, disposal, JSON, reflection + more… all optimized to ROCK ⚡
Read more 👇
#MVPBuzz #dotnet10 #Spargine
dotnettips.wordpress.com/2024/11/24/b...
Background services. Pipelines. Async workflows.
If you’re still fighting queues in .NET, it’s time to upgrade. 🎸
ChannelQueue<T> from Spargine has your back.
👉 #dotnet10 #MVPBuzz #Spargine #AsyncProgramming
dotnettips.wordpress.com/2025/08/24/b...
🎸 Take your enum game from basic to badass! Spargine’s enhanced enum helpers go beyond the built-in stuff — smarter parsing, safer conversions, and serious versatility for real-world .NET code. 👇
#Spargine #MVPBuzz #dotnet #dotnet10
dotnettips.wordpress.com/2024/05/24/e...
🎸 Your .NET tests deserve a world tour — not a local gig. Spargine’s CountryRepository gives you full global datasets so your tests ROCK with real-world accuracy 🌍⚡
Dive in 👇
#dotnet10 #Spargine #UnitTests #MVPBuzz
dotnettips.wordpress.com/2025/02/23/h...
🎸 Wanna convert bytes to hex without your .NET performance hitting a sour note?
Learn how to crank efficiency up to eleven and keep those conversions tight, fast, and screaming down the fretboard.
Dial in the speed 👇
#dotnet10 #dotnet #Performance #MVPBuzz
dotnettips.wordpress.com/2025/02/19/m...
The Modern .NET Show S08E13 - The Paper Cuts Microsoft Actually Fixes: A Deep Dive into .NET 10 with Mark J. Price
buff.ly/zudP4zb
#podcast #dotnet #devcommunity #dotnet10 #csharp #books #aspire
🎸 Don’t let your dictionary adds turn into performance feedback squeals!
Master the right patterns for adding items in .NET collections and keep your code tight and screaming with speed.
Rock the performance 👇
#dotnet #dotnet10 #MVPBuzz #CodePerformance
dotnettips.wordpress.com/2024/01/19/c...
Boost your .NET apps with blazing-fast JSON! 🚀
Spargine’s JsonSerialization wraps System.Text.Json with smart validation, source-generated support, & rock-solid performance. Clean. Fast. Reliable.
#dotnet10 #Spargine #MVPBuzz #Serialization #JSON
dotnettips.wordpress.com/2024/10/22/b...
🎸 Stop hammering your strings the wrong way!
If you’re using String where Char should rule, your .NET code’s tempo just slows down. Tighten up with smarter string moves and keep your performance shreddin’.
Amp it up 👇
#dotnet #dotnet10 #MVPBuzz
dotnettips.wordpress.com/2023/09/27/m...
Time to stop riffing on messy time code!
With Spargine’s Clock type, you get centralized time handling that hits all the right notes—cleaner code, better consistency, and zero copy-paste solos.
Crank your .NET time logic to 11!
#MVPBuzz #DotNet10 #Spargine
dotnettips.wordpress.com/2026/02/15/b...