Enum.TryParse unexpected behavior
Explains unexpected behavior of C#'s Enum.TryParse method and provides a solution using Enum.IsDefined for validation.
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.
Three useful C# programming tips for working with dictionaries, including case-insensitive keys and safe value retrieval methods.
A developer shares lesser-known Entity Framework features like AutoInclude and HasQueryFilter to improve code efficiency and avoid common pitfalls.
Explains C# overload resolution rules, focusing on implicit conversions and compile-time constant evaluation to determine the best method match.
A developer explains why they prefer xUnit over other .NET testing frameworks, focusing on its test isolation design.
Explains the performance and readability benefits of ordering LINQ queries as Where.Select instead of Select.Where in C#.
Explains why eliding the 'await' keyword in C# async methods results in missing stack trace information, with code examples.
A guide to implementing the Mediator design pattern in C# from scratch, inspired by the MediatR library.