Performance Killers in EF Core: Top 11 Common Mistakes and How to Fix Them

A comprehensive guide to diagnosing and fixing common EF Core performance issues, with practical code examples and real-world performance improvements.

July 17, 2025 · 22 min · 4292 words · Abhinaw

Avoiding N+1 Queries in EF Core: Include() vs SplitQuery()

A practical guide to fixing N+1 queries in EF Core using Include and AsSplitQuery, with code samples and performance tips.

July 8, 2025 · Last modified: July 10, 2025 · 11 min · 2121 words · Abhinaw
Visual diagram showing different types of C# data annotations organized by their functions

C# Data Annotations: Complete Guide with Examples, Validation, and Best Practices

TL;DR: Why Use Data Annotations in C#? Simplifies model validation in ASP.NET Core Keeps code clean and reusable Makes intent obvious (like [Required], [Range]) Works with both client-side and server-side validation Helps shape EF Core database schema Taming Your Data with C# Annotations If you’re building models in C# or ASP.NET Core and want smarter, cleaner validation without cluttering your code, this guide to data annotations has everything you need, from [Required] to custom validators. ...

June 20, 2025 · Last modified: June 27, 2025 · 13 min · 2441 words · Abhinaw