Advertisement · 728 × 90
#
Hashtag
#dotNET10
Advertisement · 728 × 90
Preview
Microsoft .NET Code Analysis: Optimizing Collection Examination This content discusses four methods for evaluating items in a collection using predicates or filters, mainly focusing on the LINQ Any() method. It highlights the performance of Count() as superior …

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

0 0 0 0
Preview
Microsoft .NET Code Analysis: Optimizing JSON Serialization with Cached Options Caching your JSON serialization options in .NET leads to significant performance benefits.

🎸 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...

0 0 0 0
Preview
General Performance Tips To enhance the performance of .NET applications, developers should focus on mastering key techniques rather than relying on quick fixes. This resource offers a comprehensive collection of practical…

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

0 0 0 0
Post image

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

0 0 0 0
Preview
General Performance: Exploring Thread ID Retrieval Methods This article explains two methods to obtain the current thread ID in .NET and shows which method is more performant.

⚡ 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...

0 0 0 0
Preview
Code It Anyway You Want: Initializing Reference Type Static Fields Inline for Enhanced Code Readability Microsoft advises initializing reference type static fields inline to enhance code readability and prevent issues from uninitialized fields. Two patterns are shown: inline initialization and using …

“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

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Mastering ObservableList ObservableList from Spargine offers a robust alternative to .NET’s ObservableCollection, designed for modern applications using MVVM patterns. It provides change notifications and intuitive m…

🎸 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...

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Exception Handling Superpowers with ExceptionExtensions Exception handling in .NET often lacks depth and utility, but the ExceptionExtensions class from the DotNetTips.Spargine.Extensions NuGet package enhances this process. It offers advanced tools for…

🎸 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...

0 1 0 0
Preview
Boost Your .NET Projects with Spargine: Simplify StringBuilder Usage with StringBuilderExtensions Spargine’s StringBuilderExtensions enhances the use of StringBuilder by streamlining common string-building scenarios, improving code clarity and performance. Key methods include appending byte arr…

🎸 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...

0 0 0 0
Preview
Microsoft .NET Code Analysis: Boosting  Performance with Span and Memory The excerpt discusses the .NET MemoryExtensions class, which optimizes performance in byte array manipulation by offering allocation-free methods for converting to Memory, ReadOnlyMemory, Span, and…

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

0 0 0 0
Preview
General Performance Tip: Enhanced Logging Approach The article discusses advancements in logging techniques in .NET, particularly with the new source generator in .NET 6 that enhances performance using LoggerMessage. This new method improves loggin…

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...

0 0 0 0
Preview
Boost Your .NET Projects: Ensure Thread-Safe Uniqueness with DistinctConcurrentBag in Spargine DistinctConcurrentBag is a thread-safe collection in .NET that ensures uniqueness of elements without the complexity of manual duplicate tracking. It supports atomic operations similar to Concurren…

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...

0 0 0 0
Preview
C# File-based Apps in .NET 10: Run and Build Apps from a Single .cs File - Ottorino Bruni Learn how C# file-based apps work in .NET 10. Run, build, and evolve tools and scripts from a single .cs file without creating a project

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-...

1 1 0 0
Just a moment...

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

0 0 0 0
Preview
Boost Your .NET Projects: Ensure Thread-Safe Uniqueness with DistinctConcurrentBag in Spargine DistinctConcurrentBag is a thread-safe collection in .NET that ensures uniqueness of elements without the complexity of manual duplicate tracking. It supports atomic operations similar to Concurren…

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...

0 0 0 0
Preview
String Performance: The Fastest Way to Get a String’s Length The article highlights the importance of using efficient methods for checking if a string is empty or null, emphasizing the performance benefits and exception prevention of using `string.IsNullOrEm…

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...

0 0 0 0
Preview
Collection Performance: Exploring the Performance Impacts of Array Properties The post critiques developers’ practices of using properties that return arrays, highlighting issues like lack of encapsulation, read-only enforcement challenges, and limited flexibility for future…

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...

0 0 0 0
Preview
Structure Performance: Implementing Operators The post discusses the necessity of implementing equality operators (== and !=) for structures, as they do not have inherent implementations. Providing an example, it highlights the ease of this pr…

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...

0 0 0 0
Preview
🗂️ Custom Session Store for Complex Objects in ASP.NET Core ASP.NET Core’s default session fails with complex objects. This post shows how to store them safely in memory.

🗂️ 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

0 0 0 0
Preview
Boost Your .NET Projects: Efficient Byte Array Conversions When working with byte arrays in performance-critical applications, every nanosecond and allocation counts. Fortunately, in .NET, there is a class that provides several high-performance methods tha…

🚀 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...

0 0 0 0
Preview
Boost Your .NET Projects With Spargine: Unleashing the Power of TypeExtensions The TypeExtensions class in DotNetTips.Spargine.Extensions enhances .NET development by providing efficient extension methods for reflection tasks. It simplifies type inspection, metadata querying,…

🎸 .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

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Maximize Thread-Safe Performance in .NET with DistinctBlockingCollection DistinctBlockingCollection enhances BlockingCollection by ensuring item uniqueness in high-performance .NET applications, especially in producer-consumer scenarios. It prevents duplicates, providin…

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...

0 0 0 0
Preview
Adding Extension Properties with State to Types, (Sort of) In Spargine The author discusses the upcoming .NET 10 release and its new Extension Members feature, particularly focusing on extension properties. Despite direct support lacking, a workaround using Conditiona…

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...

0 0 0 0
Preview
Boost Your .NET Projects: Mastering Unit Testing with Spargine’s UnitTester Class The UnitTester class is a valuable addition to the DotNetTips.Spargine.Tester assembly, aiding developers in logging unit test data. It features methods for outputting results to Debug or saving to…

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...

0 0 0 0
Preview
General Performance Tip: Comparing ComputeHash(), HashData(), and TryHashData() Methods Developers can simplify hashing byte arrays by using HashData() instead of ComputeHash(), as it requires less code and eliminates the need to manage the SHA256 object. Benchmarking shows HashData()…

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...

0 0 0 0
Preview
Rock Your Code: Code & App Performance for Microsoft .NET (5th Edition) The fifth edition of David McCarter’s book, “Röck Yöur Cöde: Code & App Performance for Microsoft .NET,” is now available on Amazon. It offers practical techniques for enhanci…

⚡️ 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...

0 0 0 0
Preview
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…

🚀 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...

0 0 0 0
Preview
Boost Your .NET Projects: Find the Fastest Way to Get an Item’s Index in Arrays This article examines the performance of three index-finding methods in .NET arrays: Array.BinarySearch (O(log n)), Array.FindIndex (O(n)), and Array.IndexOf (O(n)).

🚀 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...

0 0 0 0
Preview
🧩 Modernizing .NET — Part 14: Migrating from WebHost to WebApplication in ASP.NET Core WebHost was common in early ASP.NET Core apps. This post shows how to migrate to the modern WebApplication model.

🧩 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

0 1 0 0
Preview
Coding Faster with dotNetTips.com Spargine 10: January 2026 Release Spargine 10 (v2026.10.1.5) launches on January 5th, 2026, featuring enhancements for .NET 10, including new types, methods, benchmarks, and significant performance upgrades. There are breaking chan…

🎸 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...

0 0 0 0