.NET Tips and Tricks & ValueStringBuilder
Introduces a .NET tips and tricks website and a high-performance ValueStringBuilder project, showcasing low-allocation string building techniques.
Introduces a .NET tips and tricks website and a high-performance ValueStringBuilder project, showcasing low-allocation string building techniques.
Introducing .NET 7's StringSyntaxAttribute to add semantic meaning to string parameters, enabling better IDE support for regex, dates, and formats.
Explains the new C# 12 feature allowing default parameter values in lambda expressions, with examples and usage in Minimal APIs.
Explains the pitfalls of comparing ReadOnlySpan<char> objects in C#/.NET, highlighting differences from string comparison due to memory representation.
Explores using the M4 macro processor to make SQL code more modular, reusable, and composable for managing large, complex codebases.
A developer's weekly reflection on George Hotz's Twitter exit, codebase criticism, and the challenges of tech management.
A technical guide on implementing Slack's HTTP request signature verification in Rust using the ring crate.
A developer compares using an ultra-wide (21:9) monitor vs. a standard 4K (16:9) monitor for productive work like coding, design, and writing.
A guide to organizing a .NET Dependency Injection container using extension methods for better structure and maintainability.
A comprehensive guide to the various collection-like types in .NET (C#), explaining their differences, use cases, and best practices for selection.
A guide to building a simple Dependency Injection container in .NET, explaining IoC and DI concepts with code examples.
Explains how to delete a database record in Entity Framework without loading it first, covering both classic and .NET 7+ methods.
An analysis of ChatGPT's capabilities and limitations for .NET and general programming, including code generation accuracy and its impact on platforms like Stack Overflow.
Explains the new Environment.IsPrivilegedProcess API in .NET 8 for checking if a process has administrator rights.
Explains the key differences between abstraction and encapsulation, two fundamental object-oriented programming concepts.
Explores how to make a StringBuilder enumerable in C# using compiler duck typing and extension methods, despite it not implementing IEnumerable.
Explores new ArgumentException helper methods proposed for .NET 8, including ThrowIfNullOrWhiteSpace and ThrowIfNullOrEmpty for collections.
A developer explores and compares three libraries (iText 7, DinkToPdf, ChromeHTMLToPdf) for generating PDFs from HTML in ASP.NET Core.
Explores new code analyzers coming in .NET 8, focusing on performance improvements like case-insensitive string comparisons.
Explains the new FrozenSet and FrozenDictionary collections in .NET 8, detailing their performance benefits and differences from read-only and immutable collections.