Trending

#DotNET10

Latest posts tagged with #DotNET10 on Bluesky

Latest Top
Trending

Posts tagged #DotNET10

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
Preview
Coding Faster with dotNetTips Spargine: Validating Data Made Easy with Validator In their experience as a software engineer, the author emphasizes the importance of data validation to prevent errors caused by bad input. They introduce Spargine’s Validator class, which off…

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

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Master Type Management with TypeHelper TypeHelper is a utility in the DotNetTips.Spargine.Core assembly that streamlines type management in .NET. It offers features like dynamic type creation, JSON serialization, and derived type discov…

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

0 0 0 0
Preview
Microsoft .NET Code Analysis: Eliminating Dictionary Double Lookups Using ContainsKey() followed by an indexer on dictionaries results in a double lookup, decreasing performance. This is common anti-pattern. This article will show you how to fix this and increase p…

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

0 0 0 0
Preview
Correcting Common Async/Await Mistakes in .NET 10 - Brandon Minnick - NDC London 2026 This talk was recorded at NDC London in London, England. #ndclondon #ndcconferences #developer #softwaredeveloper Attend the next NDC conference near you:…

Correcting Common Async/Await Mistakes in .NET 10 - Brandon Minnick - NDC London 2026

buff.ly/4KWZDgS

#dotnet #ndc #async #csharp #dotnet10

2 2 1 0
Preview
Coding Faster with dotNetTips Spargine: Validating Arguments Made Easy with Validator The article emphasizes the importance of input validation in software engineering, highlighting its role in avoiding errors and maintaining data integrity. It discusses Spargine’s Validator c…

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

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Unleashing the Power of ObjectExtensions The ObjectExtensions class in Spargine provides a comprehensive set of utility methods that enhance object manipulation in .NET. With features for deep cloning, memory management, JSON serializatio…

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

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Harness the Power of Async Queues with ChannelQueue The Spargine library introduces ChannelQueue, an efficient, thread-safe queue for .NET asynchronous programming, addressing the lack of a built-in async queue. It supports various features like asy…

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

0 0 0 0
Preview
Enhancing Enum Handling in Spargine: Beyond Enums and into Versatility Enums are essential in programming for representing fixed constants, enhancing readability, and avoiding magic numbers. However, using them as database keys is discouraged due to performance issues…

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

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Enhancing Your Testing with the CountryRepository to Retrieve Country Data The DotNetTips.Spargine.Tester assembly offers a CountryRepository that simplifies accessing accurate global data for unit and benchmark tests. It consolidates methods for listing countries, retrie…

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

0 0 0 0
Preview
Microsoft .NET Code Analysis: Optimizing Byte-to-Hex Conversions Switching from BitConverter.ToString() to Convert.ToHexString() in .NET can significantly enhance performance and reduce memory usage for byte-to-hex conversions.

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

0 0 0 0
Preview
S08E13 - The Paper Cuts Microsoft Actually Fixes: A Deep Dive into .NET 10 with Mark J Price We welcome Mark J Price back to The Modern .NET Show to discuss .NET 10's most exciting features – from extension members in C# 14 to file-based apps and the evolution of Aspire. Mark also details…

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

1 0 0 0
Preview
Collection Performance: Adding Items To a Dictionary The excerpt from “Rock Your Code” discusses two methods for adding items to a Dictionary in .NET: Add() and TryAdd().

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

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Maximize JSON Performance with JsonSerialization The JsonSerialization class in DotNetTips.Spargine.Core offers efficient JSON serialization and deserialization, leveraging .NET’s System.Text.Json.JsonSerializer. It includes methods with JsonSeri…

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

0 0 0 0
Preview
Microsoft .NET Code Analysis: Optimizing String Methods for Performance – Leveraging Character Over String for Enhanced Efficiency The article suggests using the string.Method(char) approach instead of string.Method(string) for strings containing a single character to improve performance. It highlights an example where this op…

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

1 0 0 0
Preview
Boost Your .NET Projects with Spargine: Centralized Time Handling with the Clock Type The Clock type in the DotNetTips.Spargine.Core assembly and NuGet package centralizes time-related functions to enhance application consistency and reduce fragmentation. It provides a comprehensive…

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

0 0 0 0