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<T> contains items. The results will surprise you! Check it out!
dotnettips.wordpress.com/2025/03/26/m...
#MVPBuzz #dotnet10
🎸 Don’t let sloppy JSON serialization turn your .NET app into background noise!
Crank up performance and make your serializers scream like a hot-rodded amp!
Tune it up 👇
#dotnet #dotnet10 #json #MVPBuzz
dotnettips.wordpress.com/2025/02/26/m...
Performance isn’t an afterthought—it’s a mindset.
Dial in the basics. Eliminate waste. Build apps that hit like a power chord. 🎸
Start here: dotnettips.wordpress.com/2024/04/15/g...
#dotnet #MVPBuzz #dotnet10 #MVPSummit
Generative AI for Beginners .NET v2 reescrito para .NET 10 lo que cambió:
→ Usa Microsoft.Extensions.AI (sin Semantic Kernel)
→ 5 lecciones: fundamentos multiagente
→ Cubre RAG, function calling, reasoning, structured outputs
→ Corre en Codespaces o local
#dotNET #dotNET10
⚡ Rock your threading code like a pro.
There’s a cleaner, faster way to get the current thread ID in .NET.
Plug in!
#dotnet #dotnet10 #MVPBuzz
dotnettips.wordpress.com/2026/03/22/g...
“Code It Any Way You Want: Initializing Static Fields Inline” 💡
Why Microsoft prefers inline static reference init for readability—even though static ctors benchmark slightly faster. Plus my .editorconfig setup for CA1810 👇
dotnettips.wordpress.com/2025/12/21/c...
#dotnet10 #MVPBuzz
🎸 Still using ObservableCollection<T> like it’s a power ballad from the ’90s?
Crank your UI up to 11 with ObservableList<T> from Spargine — smarter notifications, bulk ops, and total collection control.
Rock your data. Rock your UI. 🤘
#dotnet10 #MVPBuzz
dotnettips.wordpress.com/2025/09/21/b...
🎸 Unleash supercharged exception handling in your .NET apps with Spargine! Smarter helpers, fewer pitfalls, and patterns that keep your code shredding instead of crashing. 👇
#dotnet #dotnet10 #CodeQuality #MVPBuzz #RockYourCode
dotnettips.wordpress.com/2025/06/22/b...
🎸 Your StringBuilder code shouldn’t look like a garage-band jam session. Spargine’s StringBuilderExtensions brings pro-level clarity, consistency + performance — so your .NET code hits like a power chord ⚡
Dive in 👇
#dotnet10 #Spargine #MVPBuzz
dotnettips.wordpress.com/2025/03/23/b...
Boost .NET performance with Span<T> & Memory<T>! 🚀 See how switching from range indexers to AsSpan() & AsMemory() boosts speed by up to 8x. Benchmark results + code analysis tips are included!
dotnettips.wordpress.com/2025/03/19/m...
#dotnet10 #CodingTips #Performance #MVPBuzz
Logging is one of the easiest ways to destroy performance without realizing it. Hidden allocations, unnecessary string formatting, and bad patterns add up fast.
If your app logs heavily, you need to read this. 👇
#dotnet #dotnet10 #CodePerformance #MVPBuzz
dotnettips.wordpress.com/2024/03/20/g...
Tired of race conditions + duplicate data crashing your groove? 🤘
Spargine’s DistinctConcurrentBag<T> keeps your .NET code fast, clean, and thread-safe — with guaranteed uniqueness.
#Spargine #MVPBuzz #dotnet10
dotnettips.wordpress.com/2025/09/14/b...
C# finally feels like Python/JS/Go! 🎉
No more .csproj hassle for scripts & prototypes
.NET 10: Just write code in one .cs file → `dotnet run app.cs`
Who's ditching project boilerplate in 2026? 👇
#dotnet #csharp #DotNet10 #CSharpDeve www.ottorinobruni.com/csharp-file-...
Learn how to implement global filters with EF Core Query Filters in .NET 10 to streamline your data access logic and improve application performance. #EFCore #DotNet10
Tired of race conditions + duplicate data crashing your groove? 🤘
Spargine’s DistinctConcurrentBag<T> keeps your .NET code fast, clean, and thread-safe — with guaranteed uniqueness.
#Spargine #MVPBuzz #dotnet10
dotnettips.wordpress.com/2025/09/14/b...
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...