Foundatio.Repositories 7.17.17

Prefix Reserved
dotnet add package Foundatio.Repositories --version 7.17.17
                    
NuGet\Install-Package Foundatio.Repositories -Version 7.17.17
                    
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.17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Foundatio.Repositories" Version="7.17.17" />
                    
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.17
                    
#r "nuget: Foundatio.Repositories, 7.17.17"
                    
#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.
#:package Foundatio.Repositories@7.17.17
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Foundatio.Repositories&version=7.17.17
                    
Install as a Cake Addin
#tool nuget:?package=Foundatio.Repositories&version=7.17.17
                    
Install 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 is compatible.  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.17 4,176 8/21/2025
7.17.16 298 8/20/2025
7.17.15 481 5/9/2025
7.17.14 780 1/31/2025
7.17.13 732 11/26/2024
7.17.12 886 9/28/2024
7.17.11 440 8/31/2024
7.17.10 201 8/31/2024
7.17.9 8,810 5/20/2024
7.17.8 5,015 3/27/2024
7.17.7 3,543 1/5/2024
7.17.6 1,244 10/26/2023
7.17.5 1,808 8/2/2023
7.17.4 1,530 6/23/2023
7.17.3 8,964 1/1/2023
7.17.2 6,759 5/18/2022
7.17.1 3,624 3/10/2022
7.17.0 1,442 3/7/2022
7.16.2 1,994 1/21/2022
7.16.1 1,713 1/21/2022
7.16.0 1,683 1/20/2022
7.15.0 2,373 10/11/2021
7.13.2 1,899 7/19/2021
7.13.1 1,264 7/19/2021
7.13.0 1,283 7/8/2021
7.12.2 1,429 5/6/2021
7.12.1 1,995 4/15/2021
7.12.0 1,317 4/13/2021
7.10.5 2,186 2/1/2021
7.10.4 1,373 1/26/2021
7.10.3 1,361 1/20/2021
7.10.2 1,352 1/7/2021
7.10.1 1,498 12/11/2020
7.10.0 1,973 11/17/2020
7.9.3 1,949 10/19/2020
7.9.2 1,670 10/9/2020
7.9.1 1,522 10/7/2020
7.9.0 1,646 9/16/2020
7.9.0-beta5 1,096 9/15/2020
7.9.0-beta3 1,579 8/28/2020
7.9.0-beta2 1,047 8/27/2020
7.9.0-beta1 1,097 8/25/2020
7.8.0-beta8 1,173 7/29/2020
7.8.0-beta7 1,189 7/9/2020
7.8.0-beta12 1,076 8/10/2020
7.8.0-beta11 1,183 8/6/2020
7.7.0-beta5 1,305 6/20/2020
7.7.0-beta4 1,248 6/14/2020
7.7.0-beta3 1,212 6/6/2020
7.7.0-beta2 1,234 5/26/2020
7.6.1 5,813 3/25/2020
7.6.0 3,447 2/27/2020
7.5.6 2,852 2/14/2020
7.5.5 1,696 2/11/2020
7.5.4 2,059 2/5/2020
7.5.1 2,907 1/17/2020
7.5.0 1,569 1/16/2020
7.0.890 8,568 8/20/2019
7.0.887 1,567 8/19/2019
7.0.885 1,681 8/19/2019
7.0.880 1,627 8/19/2019
7.0.877 1,717 8/16/2019
7.0.865 2,680 6/27/2019
5.6.921 4,064 9/23/2019
5.6.905 1,683 8/30/2019
5.6.900 2,272 8/30/2019
5.6.870 2,877 7/26/2019
5.6.848 7,019 4/17/2019
5.6.845 2,113 3/15/2019
5.6.843 1,645 3/14/2019
5.6.839 1,712 3/14/2019
5.6.836 1,784 2/24/2019
5.6.833 1,972 2/22/2019
5.6.815 6,169 12/4/2018
5.6.809 2,953 11/9/2018
5.6.807 1,692 11/9/2018
5.6.798 2,525 10/18/2018
5.6.793 3,399 10/4/2018
5.6.790 2,402 9/12/2018
5.6.768 2,752 7/16/2018
5.6.758 3,026 5/9/2018
5.6.670 2,785 11/30/2017
5.0.648 2,347 10/4/2017
5.0.645 2,220 10/4/2017
5.0.636 2,253 10/3/2017
5.0.627 2,433 9/15/2017
5.0.624 2,470 9/15/2017
5.0.621 2,306 9/5/2017
5.0.619 2,326 8/17/2017
5.0.607 1,689 7/14/2017
5.0.603 1,395 7/7/2017
5.0.598 1,937 6/23/2017
5.0.595 1,392 6/23/2017
5.0.593 1,402 6/23/2017
5.0.586 1,520 5/5/2017
5.0.539-pre 1,220 3/16/2017
5.0.538-pre 1,184 3/16/2017
5.0.537-pre 1,135 3/16/2017
5.0.536-pre 1,209 3/16/2017
5.0.535-pre 1,157 3/16/2017
5.0.532-pre 1,163 3/14/2017
5.0.529-pre 1,159 3/14/2017
5.0.520-pre 1,212 3/13/2017
5.0.519-pre 1,175 3/13/2017
5.0.518-pre 1,140 3/13/2017
5.0.517-pre 1,173 3/13/2017
5.0.516-pre 1,227 3/13/2017
5.0.515-pre 1,164 3/13/2017
5.0.514-pre 1,174 3/12/2017
5.0.513-pre 1,157 3/11/2017
5.0.512-pre 1,170 3/11/2017
5.0.503-pre 1,950 3/6/2017
5.0.501-pre 1,840 3/6/2017
5.0.487-pre 1,777 3/1/2017
5.0.485-pre 1,918 3/1/2017
5.0.478-pre 1,804 2/28/2017
5.0.472-pre 1,816 2/26/2017
5.0.470-pre 1,813 2/26/2017
5.0.467-pre 1,903 2/21/2017
5.0.466-pre 1,844 2/21/2017
5.0.462-pre 1,839 2/20/2017
5.0.459-pre 1,798 2/20/2017
5.0.455-pre 1,772 2/17/2017
5.0.450-pre 1,905 2/17/2017
5.0.449-pre 1,826 2/17/2017
5.0.443-pre 1,915 2/16/2017
5.0.440-pre 1,798 2/15/2017
5.0.437-pre 1,830 2/15/2017
5.0.434-pre 1,769 2/14/2017
5.0.433-pre 1,846 2/14/2017
5.0.432-pre 1,889 2/14/2017
5.0.427-pre 2,014 2/7/2017
5.0.426-pre 1,729 2/6/2017
5.0.425-pre 1,688 2/6/2017
5.0.423-pre 1,709 2/3/2017
5.0.421-pre 1,765 1/31/2017
5.0.420-pre 1,774 1/31/2017
5.0.418-pre 1,690 1/30/2017
5.0.414-pre 1,760 1/28/2017
5.0.408-pre 1,844 1/25/2017
5.0.407-pre 1,757 1/20/2017
5.0.406-pre 1,790 1/20/2017
5.0.405-pre 1,758 1/19/2017
5.0.397-pre 1,738 1/13/2017
5.0.396-pre 1,744 1/13/2017
5.0.394-pre 1,793 1/12/2017
5.0.390-pre 1,801 1/8/2017
5.0.387-pre 1,683 1/7/2017
5.0.386-pre 1,782 1/7/2017
5.0.375-pre 1,843 12/29/2016
5.0.373-pre 1,737 12/28/2016
5.0.371-pre 1,753 12/22/2016
5.0.370-pre 1,709 12/22/2016
5.0.368-pre 1,756 12/21/2016
5.0.366-pre 1,727 12/19/2016
5.0.364-pre 1,834 12/14/2016
5.0.363-pre 1,733 12/14/2016
5.0.360-pre 1,772 12/13/2016
5.0.359-pre 1,809 12/13/2016
5.0.355-pre 1,750 12/12/2016
5.0.353-pre 1,772 12/12/2016
5.0.351-pre 1,719 12/12/2016
5.0.346-pre 1,809 12/7/2016
5.0.343-pre 1,742 12/6/2016
5.0.336-pre 1,741 11/30/2016
5.0.333-pre 1,802 11/29/2016
5.0.332-pre 1,799 11/29/2016
5.0.331-pre 1,732 11/29/2016
5.0.329-pre 1,759 11/29/2016
5.0.326-pre 1,748 11/25/2016
5.0.325-pre 1,763 11/23/2016
5.0.324-pre 1,792 11/19/2016
5.0.309-pre 2,040 11/15/2016
5.0.307-pre 1,766 11/12/2016
5.0.306-pre 2,049 11/3/2016
5.0.305-pre 1,813 11/2/2016
5.0.286-pre 1,775 10/12/2016
5.0.285-pre 1,746 10/11/2016
2.1.284-pre 1,766 10/11/2016
2.1.283-pre 1,696 10/11/2016
2.0.576 2,454 5/4/2017
2.0.548 2,495 3/17/2017
2.0.547 2,285 3/17/2017
2.0.546 2,292 3/17/2017
2.0.544 2,272 3/17/2017
2.0.543-pre 1,795 3/17/2017
2.0.465 2,382 2/21/2017
2.0.464 2,171 2/20/2017
2.0.457 2,273 2/20/2017
2.0.454 2,205 2/17/2017
2.0.452-pre 1,807 2/17/2017
2.0.451 2,298 2/17/2017
2.0.448 2,335 2/16/2017
2.0.429 2,175 2/13/2017
2.0.422 2,140 2/3/2017
2.0.398 2,209 1/16/2017
2.0.393 2,205 1/12/2017
2.0.392 2,090 1/9/2017
2.0.389 2,219 1/8/2017
2.0.385 2,141 1/6/2017
2.0.369-pre 1,726 12/22/2016
2.0.367 2,135 12/21/2016
2.0.362 2,194 12/13/2016
2.0.361 2,135 12/13/2016
2.0.347 2,156 12/10/2016
2.0.344 2,105 12/6/2016
2.0.335 2,162 11/30/2016
2.0.330 2,169 11/29/2016
2.0.328 2,154 11/28/2016
2.0.327 2,178 11/28/2016
2.0.321 2,207 11/18/2016
2.0.320 2,069 11/17/2016
2.0.319 2,047 11/17/2016
2.0.318 2,128 11/17/2016
2.0.317 2,400 11/16/2016
2.0.299 2,135 10/21/2016
2.0.297 2,074 10/21/2016
2.0.296 2,119 10/21/2016
2.0.294 2,101 10/21/2016
2.0.289 2,007 10/21/2016
2.0.288 2,018 10/20/2016
2.0.287 2,103 10/18/2016
2.0.282 2,273 10/10/2016
2.0.281-pre 1,695 10/7/2016
2.0.274 2,554 10/7/2016
2.0.270 2,201 10/4/2016
2.0.263 2,136 9/30/2016
2.0.259 2,147 9/27/2016
2.0.258 2,215 9/23/2016
2.0.257 2,519 9/21/2016
2.0.256-pre 2,032 9/21/2016
2.0.255-pre 2,074 9/21/2016
2.0.253-pre 1,986 9/20/2016
2.0.252-pre 1,842 9/20/2016
2.0.251-pre 1,948 9/20/2016
2.0.250-pre 1,970 9/20/2016
2.0.249-pre 2,070 9/19/2016
2.0.248-pre 2,066 9/19/2016
2.0.247-pre 2,121 9/19/2016
2.0.246-pre 1,888 9/17/2016
2.0.245-pre 1,875 9/17/2016
2.0.243-pre 1,994 9/17/2016
2.0.242-pre 2,049 9/17/2016
2.0.241-pre 2,075 9/16/2016
2.0.240-pre 1,717 9/16/2016
2.0.239-pre 1,732 9/14/2016
2.0.238-pre 1,715 9/14/2016
2.0.237-pre 1,703 9/13/2016
2.0.236-pre 1,893 9/13/2016
2.0.235-pre 1,781 9/13/2016
2.0.234-pre 1,667 9/9/2016
2.0.233-pre 1,711 9/9/2016
2.0.232-pre 1,705 9/9/2016
2.0.231-pre 1,788 9/7/2016
2.0.230-pre 1,653 9/7/2016
2.0.229-pre 1,716 9/7/2016
2.0.228-pre 1,709 9/7/2016
2.0.227-pre 1,659 9/6/2016
2.0.221-pre 1,772 9/6/2016
2.0.210-pre 1,761 9/2/2016
2.0.209-pre 1,707 9/2/2016
2.0.208-pre 1,753 9/2/2016
2.0.207-pre 1,723 9/2/2016
2.0.206-pre 1,815 9/2/2016
2.0.204-pre 1,715 9/2/2016
2.0.203-pre 1,695 9/2/2016
2.0.202-pre 1,723 9/1/2016
2.0.201-pre 1,683 9/1/2016
2.0.200-pre 1,686 9/1/2016
2.0.194-pre 1,717 8/31/2016
2.0.193-pre 1,713 8/31/2016
2.0.192-pre 1,783 8/31/2016
2.0.191-pre 1,740 8/31/2016
2.0.190-pre 1,741 8/31/2016
2.0.189-pre 1,759 8/31/2016
2.0.188-pre 1,715 8/31/2016
2.0.184-pre 1,778 8/30/2016
2.0.183-pre 1,768 8/29/2016
2.0.182-pre 1,743 8/29/2016
2.0.172-pre 1,698 8/26/2016
2.0.171-pre 1,765 8/26/2016
2.0.170-pre 1,769 8/26/2016
2.0.169-pre 1,717 8/26/2016
2.0.168-pre 1,721 8/26/2016
2.0.167-pre 1,726 8/25/2016
2.0.166-pre 1,732 8/25/2016
2.0.164-pre 1,769 8/25/2016
2.0.163-pre 1,698 8/25/2016
2.0.162-pre 2,021 8/24/2016
2.0.161-pre 1,708 8/24/2016
2.0.160-pre 1,782 8/24/2016
2.0.159-pre 1,737 8/24/2016
2.0.158-pre 1,722 8/24/2016
2.0.157-pre 1,746 8/24/2016
2.0.156-pre 1,710 8/24/2016
2.0.155-pre 1,673 8/24/2016
2.0.154-pre 1,740 8/24/2016
2.0.153-pre 1,783 8/24/2016
2.0.152-pre 1,722 8/23/2016
2.0.151-pre 1,811 8/23/2016
2.0.150-pre 1,781 8/23/2016
2.0.145-pre 1,695 8/20/2016
2.0.142-pre 1,760 8/16/2016
2.0.141-pre 1,737 8/16/2016
2.0.139-pre 1,732 8/16/2016
2.0.138-pre 1,693 8/15/2016
2.0.137-pre 1,794 8/15/2016
2.0.136-pre 1,712 8/15/2016
2.0.134-pre 1,691 8/15/2016
2.0.133-pre 1,741 8/12/2016
2.0.132-pre 1,758 8/12/2016
2.0.130-pre 1,727 8/12/2016
2.0.126-pre 1,751 8/11/2016
2.0.125-pre 1,777 8/11/2016
2.0.124-pre 1,724 8/11/2016
2.0.123-pre 1,772 8/11/2016
2.0.122-pre 1,683 8/10/2016
2.0.121-pre 1,700 8/10/2016
2.0.120-pre 1,717 8/9/2016
2.0.119-pre 1,818 8/9/2016
2.0.103-pre 1,831 7/26/2016
2.0.88-pre 1,788 7/21/2016
2.0.83-pre 1,793 7/15/2016
2.0.82-pre 1,931 7/14/2016
2.0.81-pre 1,938 7/14/2016
2.0.80-pre 1,989 7/13/2016
2.0.78-pre 1,971 7/13/2016
2.0.77-pre 1,957 7/13/2016
1.0.87 2,483 7/20/2016
1.0.86 2,149 7/20/2016
1.0.85 2,144 7/20/2016
1.0.84-pre 1,770 7/20/2016
1.0.76-pre 1,911 7/13/2016
1.0.61-pre 1,786 6/27/2016
1.0.56-pre 1,719 5/16/2016
1.0.54 2,780 4/18/2016
1.0.53 2,102 4/15/2016
1.0.51 2,157 4/5/2016
1.0.41 2,269 3/25/2016
1.0.40 2,160 3/24/2016
1.0.39 2,163 3/24/2016
1.0.38 2,109 3/23/2016
1.0.36 2,437 3/8/2016
1.0.34 2,340 2/29/2016
1.0.33 2,114 2/22/2016
1.0.32 2,263 2/16/2016
1.0.31 2,204 2/12/2016
1.0.30 2,543 2/12/2016
1.0.29 2,185 2/12/2016
1.0.28 2,192 2/10/2016
1.0.14 2,096 2/5/2016
1.0.10 2,303 1/27/2016