Blog Logo
TAGS

Ardalis.Specification

Ardalis.Specification is a base class package that includes tests and support for adding specifications to a DDD model, as well as a default generic Repository base class with support for EF6 and EF Core. This package is currently used in Microsoft reference application eShopOnWeb, and the Clean Architecture solution template. The package also includes an associated free eBook by Steve ardalis Smith on Architecting Modern Web Applications with ASP.NET Core and Azure. The latest release, version 6, includes various updates and breaking changes such as improving in-memory evaluation performance and removing the Paginate builder action. Sample usage of the specification pattern eliminates query-specific logic from various parts of the application, and is suitable for use with EF Core and other similar abstractions.