Ardalis.Specification 6.1.0

.NET Standard 2.0
dotnet add package Ardalis.Specification --version 6.1.0
NuGet\Install-Package Ardalis.Specification -Version 6.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ardalis.Specification" Version="6.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ardalis.Specification --version 6.1.0
#r "nuget: Ardalis.Specification, 6.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ardalis.Specification as a Cake Addin
#addin nuget:?package=Ardalis.Specification&version=6.1.0

// Install Ardalis.Specification as a Cake Tool
#tool nuget:?package=Ardalis.Specification&version=6.1.0

A simple package with a base Specification class, for use in creating queries that work with Repository types.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (43)

Showing the top 5 NuGet packages that depend on Ardalis.Specification:

Package Downloads

EF Core plugin package to Ardalis.Specification containing EF Core evaluator and abstract repository.


An SharedKernal packaged used as a sample in the DDD Fundamentals Pluralsight course by Julie Lerman and Steve Smith.


EF6 plugin package to Ardalis.Specification containing EF6 evaluator and abstract repository.


Sparc Core package


Fundamental building blocks for creating the domain layer in a DDD software design approach.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Ardalis.Specification:

Repository Stars
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
Sample ASP.NET Core 6.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
Clean Architecture Template for .NET 6.0 WebApi built with Multitenancy Support.
A starting point to build a web API to work with Azure Cosmos DB using .NET 5 and Azure Cosmos DB .NET SDK V3, based on Clean Architecture and repository design pattern. Partition key is also implemented through the repository pattern.
A simple web application for devBetter
Version Downloads Last updated
6.1.0 421,543 6/24/2022
6.0.1 413,678 1/19/2022
6.0.0 28,737 1/18/2022
5.2.0 270,949 9/7/2021
5.1.0 169,569 4/17/2021
5.0.3 35,732 3/5/2021
5.0.2-beta 213 3/4/2021
5.0.1-beta 241 3/1/2021
5.0.0-beta 284 3/1/2021
4.2.0 97,404 1/29/2021
4.1.0 240,839 9/4/2020
4.0.0 54,251 7/31/2020
3.0.0 29,028 6/5/2020
2.1.0 540 6/4/2020
2.0.0 2,179 1/3/2020
1.2.0 632 7/17/2019
1.1.1 619 2/15/2019
1.1.0 567 2/15/2019
1.0.1 1,058 2/13/2018
1.0.0 3,521 2/13/2018

- Added `AddRangeAsync`. [PR 239](
       - Added dictionary as arbitrary state for specifications. [PR 248](
       - Added support for updating specifications. [PR 251](
       - Updated base specifications as non-abstract classes. [PR 252](
       - Update the infrastructure for single result specifications. [PR 272](
       - Added `UpdateRangeAsync`. [PR 272](
       - Add WithSpecification overload for specifications with Select. [PR 273](