Foundatio.Repositories 7.17.15

Prefix Reserved
dotnet add package Foundatio.Repositories --version 7.17.15
                    
NuGet\Install-Package Foundatio.Repositories -Version 7.17.15
                    
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="Foundatio.Repositories" Version="7.17.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Foundatio.Repositories" Version="7.17.15" />
                    
Directory.Packages.props
<PackageReference Include="Foundatio.Repositories" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Foundatio.Repositories --version 7.17.15
                    
#r "nuget: Foundatio.Repositories, 7.17.15"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Foundatio.Repositories&version=7.17.15
                    
Install Foundatio.Repositories as a Cake Addin
#tool nuget:?package=Foundatio.Repositories&version=7.17.15
                    
Install Foundatio.Repositories as a Cake Tool

FoundatioFoundatio

Build status NuGet Version feedz.io Discord

Generic repository contract and implementations. Currently only implemented for Elasticsearch, but there are plans for other implementations.

Features

  • Simple document repository pattern
    • CRUD operations: Add, Save, Remove, Get
  • Supports patch operations
    • JSON patch
    • Partial document patch
    • Painless script patch (Elasticsearch)
    • Can be applied in bulk using queries
  • Async events that can be wired up and listened to outside of the repos
  • Caching (real-time invalidated before save and stored in distributed cache)
  • Message bus support (enables real-time apps sends messages like doc updated up to the client so they know to update the UI)
  • Searchable that works with Foundatio.Parsers lib for dynamic querying, filtering, sorting and aggregations
  • Document validation
  • Document versioning
  • Soft deletes
  • Auto document created and updated dates
  • Document migrations
  • Elasticsearch implementation
    • Plan to add additional implementations (Postgres with Marten would be a good fit)
  • Elasticsearch index configuration allows simpler and more organized configuration
    • Schema versioning
    • Parent child queries
    • Daily and monthly index strategies
  • Supports different consistency models (immediate, wait or eventual)
    • Can be configured at the index type or individual query level
  • Query builders used to make common ways of querying data easier and more portable between repo implementations
  • Can still use raw Elasticsearch queries
  • Field includes and excludes to make the response size smaller
  • Field conditions query builder
  • Paging including snapshot paging support
  • Dynamic field resolution for using friendly names of dynamically generated fields
  • Jobs for index maintenance, snapshots, reindex
  • Strongly typed field access (using lambda expressions) to enable refactoring
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Foundatio.Repositories:

Package Downloads
Foundatio.Repositories.Elasticsearch

Generic Repository implementations for Elasticsearch.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.17.15 201 5/9/2025
7.17.14 584 1/31/2025
7.17.13 622 11/26/2024
7.17.12 746 9/28/2024
7.17.11 337 8/31/2024
7.17.10 125 8/31/2024
7.17.9 7,595 5/20/2024
7.17.8 4,617 3/27/2024
7.17.7 3,445 1/5/2024
7.17.6 1,168 10/26/2023
7.17.5 1,676 8/2/2023
7.17.4 1,444 6/23/2023
7.17.3 8,838 1/1/2023
7.17.2 6,364 5/18/2022
7.17.1 3,466 3/10/2022
7.17.0 1,305 3/7/2022
7.16.2 1,853 1/21/2022
7.16.1 1,575 1/21/2022
7.16.0 1,534 1/20/2022
7.15.0 2,103 10/11/2021
7.13.2 1,738 7/19/2021
7.13.1 1,119 7/19/2021
7.13.0 1,134 7/8/2021
7.12.2 1,279 5/6/2021
7.12.1 1,842 4/15/2021
7.12.0 1,162 4/13/2021
7.10.5 1,913 2/1/2021
7.10.4 1,225 1/26/2021
7.10.3 1,204 1/20/2021
7.10.2 1,206 1/7/2021
7.10.1 1,366 12/11/2020
7.10.0 1,808 11/17/2020
7.9.3 1,785 10/19/2020
7.9.2 1,495 10/9/2020
7.9.1 1,358 10/7/2020
7.9.0 1,483 9/16/2020
7.9.0-beta5 935 9/15/2020
7.9.0-beta3 1,412 8/28/2020
7.9.0-beta2 888 8/27/2020
7.9.0-beta1 942 8/25/2020
7.8.0-beta8 1,005 7/29/2020
7.8.0-beta7 1,025 7/9/2020
7.8.0-beta12 912 8/10/2020
7.8.0-beta11 1,006 8/6/2020
7.7.0-beta5 1,143 6/20/2020
7.7.0-beta4 1,075 6/14/2020
7.7.0-beta3 1,040 6/6/2020
7.7.0-beta2 1,067 5/26/2020
7.6.1 5,638 3/25/2020
7.6.0 3,283 2/27/2020
7.5.6 2,656 2/14/2020
7.5.5 1,510 2/11/2020
7.5.4 1,889 2/5/2020
7.5.1 2,746 1/17/2020
7.5.0 1,388 1/16/2020
7.0.890 8,395 8/20/2019
7.0.887 1,382 8/19/2019
7.0.885 1,515 8/19/2019
7.0.880 1,446 8/19/2019
7.0.877 1,550 8/16/2019
7.0.865 2,506 6/27/2019
5.6.921 3,817 9/23/2019
5.6.905 1,523 8/30/2019
5.6.900 2,090 8/30/2019
5.6.870 2,708 7/26/2019
5.6.848 6,843 4/17/2019
5.6.845 1,932 3/15/2019
5.6.843 1,479 3/14/2019
5.6.839 1,500 3/14/2019
5.6.836 1,596 2/24/2019
5.6.833 1,794 2/22/2019
5.6.815 5,985 12/4/2018
5.6.809 2,781 11/9/2018
5.6.807 1,541 11/9/2018
5.6.798 2,337 10/18/2018
5.6.793 3,177 10/4/2018
5.6.790 2,187 9/12/2018
5.6.768 2,396 7/16/2018
5.6.758 2,665 5/9/2018
5.6.670 2,501 11/30/2017
5.0.648 2,078 10/4/2017
5.0.645 1,947 10/4/2017
5.0.636 1,987 10/3/2017
5.0.627 2,155 9/15/2017
5.0.624 2,184 9/15/2017
5.0.621 2,008 9/5/2017
5.0.619 2,038 8/17/2017
5.0.607 1,451 7/14/2017
5.0.603 1,163 7/7/2017
5.0.598 1,692 6/23/2017
5.0.595 1,157 6/23/2017
5.0.593 1,156 6/23/2017
5.0.586 1,285 5/5/2017
5.0.539-pre 989 3/16/2017
5.0.538-pre 955 3/16/2017
5.0.537-pre 907 3/16/2017
5.0.536-pre 978 3/16/2017
5.0.535-pre 916 3/16/2017
5.0.532-pre 935 3/14/2017
5.0.529-pre 931 3/14/2017
5.0.520-pre 981 3/13/2017
5.0.519-pre 926 3/13/2017
5.0.518-pre 906 3/13/2017
5.0.517-pre 929 3/13/2017
5.0.516-pre 991 3/13/2017
5.0.515-pre 927 3/13/2017
5.0.514-pre 946 3/12/2017
5.0.513-pre 919 3/11/2017
5.0.512-pre 931 3/11/2017
5.0.503-pre 1,700 3/6/2017
5.0.501-pre 1,595 3/6/2017
5.0.487-pre 1,513 3/1/2017
5.0.485-pre 1,643 3/1/2017
5.0.478-pre 1,550 2/28/2017
5.0.472-pre 1,556 2/26/2017
5.0.470-pre 1,563 2/26/2017
5.0.467-pre 1,641 2/21/2017
5.0.466-pre 1,572 2/21/2017
5.0.462-pre 1,596 2/20/2017
5.0.459-pre 1,545 2/20/2017
5.0.455-pre 1,517 2/17/2017
5.0.450-pre 1,594 2/17/2017
5.0.449-pre 1,565 2/17/2017
5.0.443-pre 1,595 2/16/2017
5.0.440-pre 1,522 2/15/2017
5.0.437-pre 1,524 2/15/2017
5.0.434-pre 1,527 2/14/2017
5.0.433-pre 1,571 2/14/2017
5.0.432-pre 1,542 2/14/2017
5.0.427-pre 1,676 2/7/2017
5.0.426-pre 1,478 2/6/2017
5.0.425-pre 1,425 2/6/2017
5.0.423-pre 1,458 2/3/2017
5.0.421-pre 1,530 1/31/2017
5.0.420-pre 1,523 1/31/2017
5.0.418-pre 1,414 1/30/2017
5.0.414-pre 1,481 1/28/2017
5.0.408-pre 1,563 1/25/2017
5.0.407-pre 1,505 1/20/2017
5.0.406-pre 1,522 1/20/2017
5.0.405-pre 1,494 1/19/2017
5.0.397-pre 1,476 1/13/2017
5.0.396-pre 1,494 1/13/2017
5.0.394-pre 1,497 1/12/2017
5.0.390-pre 1,529 1/8/2017
5.0.387-pre 1,416 1/7/2017
5.0.386-pre 1,535 1/7/2017
5.0.375-pre 1,576 12/29/2016
5.0.373-pre 1,505 12/28/2016
5.0.371-pre 1,481 12/22/2016
5.0.370-pre 1,475 12/22/2016
5.0.368-pre 1,511 12/21/2016
5.0.366-pre 1,463 12/19/2016
5.0.364-pre 1,567 12/14/2016
5.0.363-pre 1,480 12/14/2016
5.0.360-pre 1,513 12/13/2016
5.0.359-pre 1,543 12/13/2016
5.0.355-pre 1,492 12/12/2016
5.0.353-pre 1,516 12/12/2016
5.0.351-pre 1,462 12/12/2016
5.0.346-pre 1,521 12/7/2016
5.0.343-pre 1,477 12/6/2016
5.0.336-pre 1,484 11/30/2016
5.0.333-pre 1,516 11/29/2016
5.0.332-pre 1,530 11/29/2016
5.0.331-pre 1,457 11/29/2016
5.0.329-pre 1,500 11/29/2016
5.0.326-pre 1,467 11/25/2016
5.0.325-pre 1,511 11/23/2016
5.0.324-pre 1,528 11/19/2016
5.0.309-pre 1,689 11/15/2016
5.0.307-pre 1,503 11/12/2016
5.0.306-pre 1,785 11/3/2016
5.0.305-pre 1,564 11/2/2016
5.0.286-pre 1,485 10/12/2016
5.0.285-pre 1,479 10/11/2016
2.1.284-pre 1,460 10/11/2016
2.1.283-pre 1,448 10/11/2016
2.0.576 2,159 5/4/2017
2.0.548 2,196 3/17/2017
2.0.547 2,026 3/17/2017
2.0.546 1,976 3/17/2017
2.0.544 2,002 3/17/2017
2.0.543-pre 1,523 3/17/2017
2.0.465 2,089 2/21/2017
2.0.464 1,889 2/20/2017
2.0.457 1,976 2/20/2017
2.0.454 1,919 2/17/2017
2.0.452-pre 1,549 2/17/2017
2.0.451 2,034 2/17/2017
2.0.448 2,045 2/16/2017
2.0.429 1,923 2/13/2017
2.0.422 1,885 2/3/2017
2.0.398 1,948 1/16/2017
2.0.393 1,956 1/12/2017
2.0.392 1,834 1/9/2017
2.0.389 1,958 1/8/2017
2.0.385 1,891 1/6/2017
2.0.369-pre 1,485 12/22/2016
2.0.367 1,866 12/21/2016
2.0.362 1,933 12/13/2016
2.0.361 1,876 12/13/2016
2.0.347 1,903 12/10/2016
2.0.344 1,860 12/6/2016
2.0.335 1,903 11/30/2016
2.0.330 1,907 11/29/2016
2.0.328 1,888 11/28/2016
2.0.327 1,924 11/28/2016
2.0.321 1,942 11/18/2016
2.0.320 1,817 11/17/2016
2.0.319 1,795 11/17/2016
2.0.318 1,865 11/17/2016
2.0.317 2,051 11/16/2016
2.0.299 1,870 10/21/2016
2.0.297 1,817 10/21/2016
2.0.296 1,871 10/21/2016
2.0.294 1,864 10/21/2016
2.0.289 1,752 10/21/2016
2.0.288 1,777 10/20/2016
2.0.287 1,855 10/18/2016
2.0.282 2,021 10/10/2016
2.0.281-pre 1,438 10/7/2016
2.0.274 2,190 10/7/2016
2.0.270 1,952 10/4/2016
2.0.263 1,871 9/30/2016
2.0.259 1,899 9/27/2016
2.0.258 1,981 9/23/2016
2.0.257 2,263 9/21/2016
2.0.256-pre 1,777 9/21/2016
2.0.255-pre 1,821 9/21/2016
2.0.253-pre 1,735 9/20/2016
2.0.252-pre 1,591 9/20/2016
2.0.251-pre 1,697 9/20/2016
2.0.250-pre 1,721 9/20/2016
2.0.249-pre 1,810 9/19/2016
2.0.248-pre 1,817 9/19/2016
2.0.247-pre 1,871 9/19/2016
2.0.246-pre 1,630 9/17/2016
2.0.245-pre 1,610 9/17/2016
2.0.243-pre 1,729 9/17/2016
2.0.242-pre 1,797 9/17/2016
2.0.241-pre 1,814 9/16/2016
2.0.240-pre 1,458 9/16/2016
2.0.239-pre 1,471 9/14/2016
2.0.238-pre 1,455 9/14/2016
2.0.237-pre 1,456 9/13/2016
2.0.236-pre 1,640 9/13/2016
2.0.235-pre 1,524 9/13/2016
2.0.234-pre 1,422 9/9/2016
2.0.233-pre 1,462 9/9/2016
2.0.232-pre 1,482 9/9/2016
2.0.231-pre 1,534 9/7/2016
2.0.230-pre 1,401 9/7/2016
2.0.229-pre 1,468 9/7/2016
2.0.228-pre 1,446 9/7/2016
2.0.227-pre 1,412 9/6/2016
2.0.221-pre 1,505 9/6/2016
2.0.210-pre 1,509 9/2/2016
2.0.209-pre 1,450 9/2/2016
2.0.208-pre 1,497 9/2/2016
2.0.207-pre 1,459 9/2/2016
2.0.206-pre 1,566 9/2/2016
2.0.204-pre 1,442 9/2/2016
2.0.203-pre 1,434 9/2/2016
2.0.202-pre 1,476 9/1/2016
2.0.201-pre 1,442 9/1/2016
2.0.200-pre 1,415 9/1/2016
2.0.194-pre 1,462 8/31/2016
2.0.193-pre 1,457 8/31/2016
2.0.192-pre 1,524 8/31/2016
2.0.191-pre 1,482 8/31/2016
2.0.190-pre 1,474 8/31/2016
2.0.189-pre 1,502 8/31/2016
2.0.188-pre 1,476 8/31/2016
2.0.184-pre 1,518 8/30/2016
2.0.183-pre 1,507 8/29/2016
2.0.182-pre 1,485 8/29/2016
2.0.172-pre 1,434 8/26/2016
2.0.171-pre 1,517 8/26/2016
2.0.170-pre 1,516 8/26/2016
2.0.169-pre 1,461 8/26/2016
2.0.168-pre 1,488 8/26/2016
2.0.167-pre 1,491 8/25/2016
2.0.166-pre 1,474 8/25/2016
2.0.164-pre 1,503 8/25/2016
2.0.163-pre 1,444 8/25/2016
2.0.162-pre 1,685 8/24/2016
2.0.161-pre 1,450 8/24/2016
2.0.160-pre 1,533 8/24/2016
2.0.159-pre 1,471 8/24/2016
2.0.158-pre 1,465 8/24/2016
2.0.157-pre 1,478 8/24/2016
2.0.156-pre 1,451 8/24/2016
2.0.155-pre 1,401 8/24/2016
2.0.154-pre 1,492 8/24/2016
2.0.153-pre 1,539 8/24/2016
2.0.152-pre 1,457 8/23/2016
2.0.151-pre 1,545 8/23/2016
2.0.150-pre 1,513 8/23/2016
2.0.145-pre 1,441 8/20/2016
2.0.142-pre 1,498 8/16/2016
2.0.141-pre 1,502 8/16/2016
2.0.139-pre 1,473 8/16/2016
2.0.138-pre 1,434 8/15/2016
2.0.137-pre 1,538 8/15/2016
2.0.136-pre 1,462 8/15/2016
2.0.134-pre 1,451 8/15/2016
2.0.133-pre 1,490 8/12/2016
2.0.132-pre 1,494 8/12/2016
2.0.130-pre 1,461 8/12/2016
2.0.126-pre 1,492 8/11/2016
2.0.125-pre 1,531 8/11/2016
2.0.124-pre 1,475 8/11/2016
2.0.123-pre 1,527 8/11/2016
2.0.122-pre 1,448 8/10/2016
2.0.121-pre 1,443 8/10/2016
2.0.120-pre 1,461 8/9/2016
2.0.119-pre 1,554 8/9/2016
2.0.103-pre 1,583 7/26/2016
2.0.88-pre 1,519 7/21/2016
2.0.83-pre 1,535 7/15/2016
2.0.82-pre 1,682 7/14/2016
2.0.81-pre 1,679 7/14/2016
2.0.80-pre 1,723 7/13/2016
2.0.78-pre 1,713 7/13/2016
2.0.77-pre 1,697 7/13/2016
1.0.87 2,206 7/20/2016
1.0.86 1,889 7/20/2016
1.0.85 1,878 7/20/2016
1.0.84-pre 1,517 7/20/2016
1.0.76-pre 1,653 7/13/2016
1.0.61-pre 1,530 6/27/2016
1.0.56-pre 1,458 5/16/2016
1.0.54 2,512 4/18/2016
1.0.53 1,859 4/15/2016
1.0.51 1,902 4/5/2016
1.0.41 2,014 3/25/2016
1.0.40 1,899 3/24/2016
1.0.39 1,901 3/24/2016
1.0.38 1,869 3/23/2016
1.0.36 2,195 3/8/2016
1.0.34 2,075 2/29/2016
1.0.33 1,880 2/22/2016
1.0.32 2,010 2/16/2016
1.0.31 1,929 2/12/2016
1.0.30 2,180 2/12/2016
1.0.29 1,920 2/12/2016
1.0.28 1,943 2/10/2016
1.0.14 1,857 2/5/2016
1.0.10 2,042 1/27/2016