C# 12: Collection literals
Explains C# 12's new collection literals feature, a concise syntax for creating and merging collections and dictionaries.
Explains C# 12's new collection literals feature, a concise syntax for creating and merging collections and dictionaries.
Explains the internal workings of the .NET List<T> class, focusing on its dynamic array implementation, resizing behavior, and performance considerations.
How to use Hangfire's DisableConcurrentExecution attribute to prevent a recurring .NET background job from running if the previous instance is still active.
A guide to five practical C# extension methods for enhancing Task<T> operations, including fire-and-forget, retry, and timeout patterns.
A guide on creating a NuGet metapackage (a package that references other packages) using the .NET CLI, covering common pitfalls and solutions.
A tutorial on using C# Source Generators to automatically embed build information like timestamp and configuration into your code during compilation.
Explains how MongoDB stores DateTime in UTC and how to handle serialization/deserialization with C#, including using DateTimeOffset and custom serializers.
A guide on building an Azure Functions extension to read files from AWS S3, based on a talk at the Sydney Serverless Meetup.
A critical look at benchmarking in .NET, emphasizing the importance of context and real-world performance over isolated micro-optimizations.
A guide to validating database connection strings during .NET application startup using extension methods and configuration binding.
A guide to implementing structured logging in ASP.NET Core applications using the Serilog library, covering installation, configuration, and usage.
A tutorial on integrating Entity Framework Core 7 into an ASP.NET Core web application, covering project setup and database configuration.
Explains C# 'lowering' - how high-level syntax like foreach and async is transformed into simpler constructs by the compiler.
Explains the misconception that Tasks in C# are for multithreading, clarifying they represent asynchronous operations, not threads, and are not primarily for performance.
Introducing .NET 7's StringSyntaxAttribute to add semantic meaning to string parameters, enabling better IDE support for regex, dates, and formats.
A tutorial on implementing Azure App Configuration feature flags in a .NET 7 console application, covering setup and code integration.
Explores new ArgumentException helper methods proposed for .NET 8, including ThrowIfNullOrWhiteSpace and ThrowIfNullOrEmpty for collections.
A guide to structuring Blazor applications using a feature-based folder organization instead of the default template layout.
A visual guide explaining core LINQ functions in C#/.NET with sketches and examples, including Select, Where, Aggregate, and more.
Explains C# logging source code generators in .NET 6, detailing their benefits and usage for efficient, structured logging.