Deep nesting - Why and how to avoid
Explains why deep code nesting is problematic and demonstrates refactoring techniques like extraction and inversion to reduce complexity in C#.
Explains why deep code nesting is problematic and demonstrates refactoring techniques like extraction and inversion to reduce complexity in C#.
A guide to emulating window functions in MySQL 5.7 using local variables, highlighting the limitations and risks of this approach.
Explains the new C# 12 primary constructor feature, comparing it to records and detailing its syntax and usage.
A technical introduction to combinatory logic using the metaphor of birds, based on the book 'To Mock a Mockingbird'.
Learn how to use the open-source SystemNotification library to create iOS-style system notifications in your SwiftUI apps.
Explains software cohesion as a metric for refactoring, with a C# example showing how to split a low-cohesion class.
Entity Framework 8 introduces raw SQL queries for unmapped types, reducing boilerplate code for developers.
A tutorial on implementing a simple, reusable pagination solution for Entity Framework using a PagedList class and extension method.
Explains the misconception that Tasks in C# are for multithreading, clarifying they represent asynchronous operations, not threads, and are not primarily for performance.
Introduces a .NET tips and tricks website and a high-performance ValueStringBuilder project, showcasing low-allocation string building techniques.
Fixing a PowerShell 7.3.1 error with the Get-AzVM cmdlet by updating Azure modules.
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.
A guide to organizing a .NET Dependency Injection container using extension methods for better structure and maintainability.
The author announces a blog rebrand to 'Herding Lions' and a move to a new platform to simplify writing and integrate microblogging.
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 indie developer shares lessons learned after their document scanner app 'Scan it' was featured in Indie App Santa, leading to thousands of downloads and unexpected technical challenges.