How to write your own cron Job scheduler in ASP.NET Core (like Quartz, Hangfire, ...)
A tutorial on building a custom cron job scheduler in ASP.NET Core using BackgroundService, for educational purposes.
A tutorial on building a custom cron job scheduler in ASP.NET Core using BackgroundService, for educational purposes.
A developer argues for minimal, strategic code commenting, using examples to show how clear naming and structure can often replace verbose comments.
A critical look at benchmarking in .NET, emphasizing the importance of context and real-world performance over isolated micro-optimizations.
Explores the Liskov Substitution Principle using the classic 'Is a square a rectangle?' example in object-oriented programming.
Explains how to use the dotnet CLI's filter switch to run a specific subset of tests from a C# .NET test project, avoiding code modifications.
Explains the Humble Object design pattern for separating hard-to-test dependencies from core logic to improve unit testing in software development.
Learn how to use .NET 6 JSON source generators to optimize serialization and boost performance in ASP.NET Core APIs.
Compares performance of C# collection types like List<T>, ReadOnlyCollection<T>, ImmutableArray<T>, and ImmutableList<T> in iteration benchmarks.
How to embed Git version information like commit hash and tags directly into C# code using the GitInfo source generator library.
Analyzes a performance quirk in C#'s JsonSerializer when creating new JsonSerializerOptions instances, showing significant memory and speed penalties.
Learn how to use C# 11's new Raw String Literals feature to generate TwiML (Twilio Markup Language) for handling SMS and voice calls in an ASP.NET Core application.
A guide to creating fake HTTP endpoints for UI prototyping using ASP.NET Core Minimal APIs and the Bogus library.
Explains what middleware is in ASP.NET Core, its role in the request pipeline, and provides a practical implementation example.
A comprehensive mind map visualizing C# language features from version 1.0 through the upcoming C# 12, with clickable links to examples.
Explains the Repository design pattern in C#/.NET, covering its purpose, basic implementation, benefits, and potential drawbacks.
Entity Framework 8 adds native SQL Server support for .NET's DateOnly and TimeOnly types, eliminating the need for custom converters.
Explains C# 'lowering' - how high-level syntax like foreach and async is transformed into simpler constructs by the compiler.
A tutorial on programmatically manipulating SVG graphics using C# and the Svg NuGet package, including loading, modifying, and rendering them.
Explains why deep code nesting is problematic and demonstrates refactoring techniques like extraction and inversion to reduce complexity in C#.
Explains software cohesion as a metric for refactoring, with a C# example showing how to split a low-cohesion class.