GeistHaus
log in · sign up

https://dotnettips.wordpress.com/feed

rss
11 posts
Polling state
Status active
Last polled May 19, 2026 06:20 UTC
Next poll May 20, 2026 08:31 UTC
Poll interval 86400s
ETag W/"a232a97a68c4c420e376e38acb85e895"
Last-Modified Mon, 18 May 2026 18:02:34 GMT

Posts

On .NET Live: How Coding Standards Supercharge .NET Quality & Performance
.NET.NET Coding StandardsC#Code AnalysisCode QualityCoding StandardsPerformanceSpargineEvent
For the second time, I’m excited to be a guest on On .NET Live on May 18th at 9 AM PST! I’ll be talking about one of my favorite subjects: coding standards and how they can supercharge .NET code quality, performance, maintainability, and consistency across your projects. Join us live and bring your burning questions. … Continue reading On .NET Live: How Coding Standards Supercharge .NET Quality & Performance →
https://dotnettips.com/?p=17925
Extensions
Collection Performance: AddRange() vs. InsertRange() When Populating Lists
.NETCode AnalysisPerformanceCode PerformanceCollections
When populating collections in .NET, choosing the right bulk operation improves both clarity and efficiency. Methods like AddRange() and InsertRange() allow multiple items to be added in a single call, reducing overhead compared to repeated individual inserts and clearly expressing intent. When combined with proper capacity planning, these approaches help produce predictable, maintainable code—whether items are being appended or inserted at a specific position.
https://dotnettips.com/?p=16959
Extensions
Rock Your Code: I Let AI Build a Visual Studio Extension—Here’s What REALLY Happened
.NETAICode QualityCoding StandardsCoPilotDevelopmentPerformanceSpargineVS.NETVisual StudioVisual Studio Extension
In March 2026, I challenged GitHub Copilot to build a Visual Studio extension, "Version Sync," from scratch without coding. Despite initial failures and needing extensive feedback, it succeeded in creating an extension to sync project version numbers. However, Copilot's code quality was lacking, emphasizing that AI can't replace experienced developers.
https://dotnettips.com/?p=17407
Extensions
Boost Your .NET Projects with Spargine: High-Performance Character Processing with CharacterExtensions
.NETCharacterStrings
CharacterExtensions is a utility in the DotNetTips.Spargine.Extensions namespace that enhances performance in ASCII character processing. It offers high-performance methods for character classification, case conversion, and digit extraction, emphasizing minimal overhead. This tool is ideal for developers prioritizing speed and clarity in performance-critical .NET applications dealing with ASCII input.
https://dotnettips.com/?p=16940
Extensions
Microsoft .NET Code Analysis: Avoid Out Parameters in Methods
.NET.NET Coding StandardsCode AnalysisCA1021Method ParametersMethods
The excerpt emphasizes the importance of clarity and maintainability in designing APIs and methods in Microsoft .NET. It explains that while out parameters can be useful, they often lead to reduced readability and increased complexity. Their use should be limited to specific scenarios, particularly the Try pattern, for clearer, more maintainable code.
https://dotnettips.com/?p=16858
Extensions
Collection Performance: Finding Items at Blazing Speed
.NETPerformanceCode PerformanceCollectionsSpan
Checking whether a collection contains a specific item is a routine task in .NET, and with `Contains()` available on many collection types, it’s easy to assume they all perform similarly. In reality, the underlying data structure and search strategy make a dramatic difference, turning what looks like a simple lookup into a potential performance trap in frequently executed code paths. This article explores how different collections approach item searches, why those differences matter, and how making informed choices can lead to faster, more predictable, and more scalable applications.
https://dotnettips.com/?p=16870
Extensions
Guidance Counselor 2.0 with David McCarter
AICareer DevelopmentGeekstoryEventJob InterviewRecruiterstechnical interview
Join Taylor Desseyn and David McCarter live on the Guidance Counselor 2.0 podcast on April 21, 2026, at 9:30 AM CST. They'll discuss strategies for success in the tech job market, insights from McCarter's book "Rock Your Career," and provide valuable advice for preparing for technical interviews. Don't miss it!
https://dotnettips.com/?p=17719
Extensions
String Performance: Why Some String Searches Are Slower Than You Think
.NETPerformanceCode PerformanceStrings
String searching is fundamental to modern applications, yet its performance impact is often overlooked. This article explores how common string search patterns can quietly slow down your code—and how small, intentional changes can unlock up to 3× faster execution. Backed by real benchmarks, it shows why paying attention to string search performance matters far more than most developers realize.
https://dotnettips.com/?p=16784
Extensions
String Performance: Avoid Unnecessary Conversions with StringBuilder
.NETCode AnalysisPerformanceCA1823Code PerformanceStringBuilderStrings
The excerpt from "Rock Your Code" advises caution when using StringBuilder with non-string types, highlighting that unnecessary conversions can hinder performance.
https://dotnettips.com/?p=16557
Extensions