Specification
Base class with tests for adding specifications to a DDD model
...Its primary goal is to pull filtering, sorting, and projection logic out of repositories and services, reducing duplication and improving maintainability. The library works especially well with Entity Framework Core, enabling developers to centralize query definitions instead of scattering LINQ expressions throughout the codebase. By defining specifications as classes, teams can build complex query rules that remain testable and easy to reason about. The project is used in Microsoft’s reference application eShopOnWeb and aligns closely with clean architecture principles. ...