Updated Published 4 min read
Repository Definition and Meaning (With .NET Examples)
Repository definition and meaning explained — what a repository is in software and in .NET. When to use the pattern with EF Core: see the repository pattern guide.
Blog topic
Article map for practical C# design patterns on ASP.NET Core — Factory, Strategy, Repository, and SOLID deep dives.
Named patterns for real ASP.NET Core APIs — open the linked article for each pattern. This page is the index.
This page is the article map for practical C# design patterns on ASP.NET Core. Each pattern owns its own URL.
| You want… | Open |
|---|---|
| SOLID | SOLID principles |
| Factory | Factory pattern |
| Strategy | Strategy pattern |
| Repository definition | Repository definition |
| Repository with EF | Repository pattern |
| Specification | EF specification |
A pattern documents a trade-off that worked often enough to name — not a badge for every class. Open the linked article for code and when-to-skip guidance.
Related: Dependency Injection · EF Core
Interview lens: SOLID. Construction branches: Factory. Behavior swaps: Strategy. This page indexes them.
Dictionary: repository definition. When to use with EF: repository pattern in .NET.
Both have dedicated posts linked above. Short split: Factory chooses what to construct; Strategy swaps how an operation runs.
Updated Published 4 min read
Repository definition and meaning explained — what a repository is in software and in .NET. When to use the pattern with EF Core: see the repository pattern guide.
Updated Published 8 min read
Repository pattern in C# with EF Core — when named queries earn their keep vs generic IRepository ceremony on healthcare and eCommerce ASP.NET Core APIs.
Updated Published 8 min read
SOLID principles in C# for ASP.NET Core — detailed SRP, OCP, LSP, ISP, DIP examples with DI, Angular-facing APIs, anti-patterns, and refactor checklists from production systems.
8 min read
Strategy Pattern in C# for ASP.NET Core — swap pricing, validation, or export algorithms without giant if-else blocks, and register strategies with dependency injection.
8 min read
How to use the Factory Pattern in C# with ASP.NET Core DI — replace brittle switch statements, use factory delegates and keyed services, and know when a real factory class is worth it.
9 min read
EF Core specification pattern for catalog queries: reusable filters, paging, and counts that stay aligned across API lists and export jobs.