Enabling List<T> to store large amounts of elements
Explains how to create a ChunkedList<T> in C# to avoid Large Object Heap issues when storing massive amounts of data.
Explains how to create a ChunkedList<T> in C# to avoid Large Object Heap issues when storing massive amounts of data.
Explains the benefits and practical use of C# nullable reference types for safer code and cleaner API design.
Explains how to accurately measure Unicode string lengths in C# using the StringInfo class, addressing challenges with non-ASCII characters in console output.
Explains the memory leak issue with C# events and demonstrates how to implement the Weak Event pattern using weak references.
Introducing MiniWord, an open-source .NET library for generating Word documents from templates using OpenXML and C#.
Explains the difference between auto-property initializers and expression-bodied getters in C#, showing how each affects property value evaluation.
Analyzes how C and C++ compilers' handling of undefined behavior prioritizes performance, often at the cost of program correctness and predictability.
Explains unexpected behavior of C#'s Enum.TryParse method and provides a solution using Enum.IsDefined for validation.
Introducing Sisk, a lightweight, open-source, and cross-platform alternative HTTP server for .NET, independent of ASP.NET Core.
A quick reference guide for developers transitioning from the Moq mocking library to NSubstitute, covering syntax comparisons.
Explains the advantages of creating custom fakes for unit testing in C#/.NET instead of relying on third-party mocking libraries like Moq.
The Moq library faces controversy for using SponsorLink, a tool that checks for GitHub sponsorships during builds, raising privacy and open-source concerns.
Explains the new Keyed Services feature in .NET 8 Preview 7, showing how to register and inject named dependencies.
A tutorial on implementing Clean Architecture principles in Blazor WebAssembly applications using C#, .NET, and WebAssembly.
Explores combining F# and C# within .NET, highlighting F#'s functional strengths for domain logic and C#'s object-oriented approach.
A guide on using BenchmarkDotNet to compare performance across different .NET versions, with code examples and results.
A guide to using the EntityFramework.Exceptions library to handle specific database errors like constraint violations in Entity Framework.
A developer's guide to migrating a large .NET Framework 4.8 application to .NET 6 using an iterative, step-by-step approach.
Explains a common pitfall when using the C# 'with' keyword on records containing reference types, and how to avoid it.
Weekly tech digest covering AI news (Claude 2.0, LongNet), a podcast with Marc Andreessen, and developer resources for Bing API and Power BI.