Foundatio.Repositories 7.17.3

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Standard 2.0
dotnet add package Foundatio.Repositories --version 7.17.3
NuGet\Install-Package Foundatio.Repositories -Version 7.17.3
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.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Foundatio.Repositories --version 7.17.3
#r "nuget: Foundatio.Repositories, 7.17.3"
#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 Foundatio.Repositories as a Cake Addin
#addin nuget:?package=Foundatio.Repositories&version=7.17.3

// Install Foundatio.Repositories as a Cake Tool
#tool nuget:?package=Foundatio.Repositories&version=7.17.3

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 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.

NuGet packages (1)

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

Package Downloads
Foundatio.Repositories.Elasticsearch The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Generic Repository implementations for Elasticsearch.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.17.3 599 1/1/2023
7.17.2 3,102 5/18/2022
7.17.1 2,554 3/10/2022
7.17.0 409 3/7/2022
7.16.2 847 1/21/2022
7.16.1 430 1/21/2022
7.16.0 443 1/20/2022
7.15.0 1,313 10/11/2021
7.13.2 942 7/19/2021
7.13.1 371 7/19/2021
7.13.0 424 7/8/2021
7.12.2 539 5/6/2021
7.12.1 1,092 4/15/2021
7.12.0 414 4/13/2021
7.10.5 960 2/1/2021
7.10.4 485 1/26/2021
7.10.3 441 1/20/2021
7.10.2 472 1/7/2021
7.10.1 619 12/11/2020
7.10.0 1,030 11/17/2020
7.9.3 1,014 10/19/2020
7.9.2 752 10/9/2020
7.9.1 601 10/7/2020
7.9.0 694 9/16/2020
7.9.0-beta5 373 9/15/2020
7.9.0-beta3 865 8/28/2020
7.9.0-beta2 318 8/27/2020
7.9.0-beta1 380 8/25/2020
7.8.0-beta8 349 7/29/2020
7.8.0-beta7 393 7/9/2020
7.8.0-beta12 352 8/10/2020
7.8.0-beta11 376 8/6/2020
7.7.0-beta5 571 6/20/2020
7.7.0-beta4 453 6/14/2020
7.7.0-beta3 425 6/6/2020
7.7.0-beta2 407 5/26/2020
7.6.1 4,839 3/25/2020
7.6.0 2,639 2/27/2020
7.5.6 1,854 2/14/2020
7.5.5 816 2/11/2020
7.5.4 1,138 2/5/2020
7.5.1 1,938 1/17/2020
7.5.0 632 1/16/2020
7.0.890 7,620 8/20/2019
7.0.887 686 8/19/2019
7.0.885 671 8/19/2019
7.0.880 666 8/19/2019
7.0.877 758 8/16/2019
7.0.865 1,729 6/27/2019
5.6.921 2,144 9/23/2019
5.6.905 824 8/30/2019
5.6.900 1,332 8/30/2019
5.6.870 1,966 7/26/2019
5.6.848 5,987 4/17/2019
5.6.845 1,093 3/15/2019
5.6.843 670 3/14/2019
5.6.839 675 3/14/2019
5.6.836 815 2/24/2019
5.6.833 1,003 2/22/2019
5.6.815 5,307 12/4/2018
5.6.809 1,980 11/9/2018
5.6.807 816 11/9/2018
5.6.798 1,456 10/18/2018
5.6.793 2,246 10/4/2018
5.6.790 1,346 9/12/2018
5.6.768 1,426 7/16/2018
5.6.758 1,685 5/9/2018
5.6.670 1,470 11/30/2017
5.0.648 1,192 10/4/2017
5.0.645 1,008 10/4/2017
5.0.636 1,112 10/3/2017
5.0.627 1,171 9/15/2017
5.0.624 1,139 9/15/2017
5.0.621 1,091 9/5/2017
5.0.619 1,058 8/17/2017
5.0.607 1,141 7/14/2017
5.0.603 850 7/7/2017
5.0.598 1,355 6/23/2017
5.0.595 843 6/23/2017
5.0.593 847 6/23/2017
5.0.586 975 5/5/2017
5.0.539-pre 758 3/16/2017
5.0.538-pre 739 3/16/2017
5.0.537-pre 690 3/16/2017
5.0.536-pre 759 3/16/2017
5.0.535-pre 697 3/16/2017
5.0.532-pre 710 3/14/2017
5.0.529-pre 704 3/14/2017
5.0.520-pre 747 3/13/2017
5.0.519-pre 691 3/13/2017
5.0.518-pre 685 3/13/2017
5.0.517-pre 696 3/13/2017
5.0.516-pre 749 3/13/2017
5.0.515-pre 692 3/13/2017
5.0.514-pre 708 3/12/2017
5.0.513-pre 695 3/11/2017
5.0.512-pre 708 3/11/2017
5.0.503-pre 900 3/6/2017
5.0.501-pre 848 3/6/2017
5.0.487-pre 802 3/1/2017
5.0.485-pre 882 3/1/2017
5.0.478-pre 855 2/28/2017
5.0.472-pre 831 2/26/2017
5.0.470-pre 841 2/26/2017
5.0.467-pre 913 2/21/2017
5.0.466-pre 851 2/21/2017
5.0.462-pre 846 2/20/2017
5.0.459-pre 862 2/20/2017
5.0.455-pre 852 2/17/2017
5.0.450-pre 841 2/17/2017
5.0.449-pre 808 2/17/2017
5.0.443-pre 867 2/16/2017
5.0.440-pre 802 2/15/2017
5.0.437-pre 855 2/15/2017
5.0.434-pre 847 2/14/2017
5.0.433-pre 819 2/14/2017
5.0.432-pre 830 2/14/2017
5.0.427-pre 895 2/7/2017
5.0.426-pre 817 2/6/2017
5.0.425-pre 772 2/6/2017
5.0.423-pre 798 2/3/2017
5.0.421-pre 812 1/31/2017
5.0.420-pre 816 1/31/2017
5.0.418-pre 799 1/30/2017
5.0.414-pre 790 1/28/2017
5.0.408-pre 858 1/25/2017
5.0.407-pre 811 1/20/2017
5.0.406-pre 837 1/20/2017
5.0.405-pre 833 1/19/2017
5.0.397-pre 830 1/13/2017
5.0.396-pre 835 1/13/2017
5.0.394-pre 811 1/12/2017
5.0.390-pre 858 1/8/2017
5.0.387-pre 807 1/7/2017
5.0.386-pre 833 1/7/2017
5.0.375-pre 854 12/29/2016
5.0.373-pre 827 12/28/2016
5.0.371-pre 813 12/22/2016
5.0.370-pre 805 12/22/2016
5.0.368-pre 840 12/21/2016
5.0.366-pre 841 12/19/2016
5.0.364-pre 853 12/14/2016
5.0.363-pre 832 12/14/2016
5.0.360-pre 863 12/13/2016
5.0.359-pre 850 12/13/2016
5.0.355-pre 860 12/12/2016
5.0.353-pre 868 12/12/2016
5.0.351-pre 839 12/12/2016
5.0.346-pre 829 12/7/2016
5.0.343-pre 824 12/6/2016
5.0.336-pre 837 11/30/2016
5.0.333-pre 823 11/29/2016
5.0.332-pre 842 11/29/2016
5.0.331-pre 824 11/29/2016
5.0.329-pre 839 11/29/2016
5.0.326-pre 842 11/25/2016
5.0.325-pre 826 11/23/2016
5.0.324-pre 834 11/19/2016
5.0.309-pre 938 11/15/2016
5.0.307-pre 833 11/12/2016
5.0.306-pre 1,139 11/3/2016
5.0.305-pre 849 11/2/2016
5.0.286-pre 824 10/12/2016
5.0.285-pre 810 10/11/2016
2.1.284-pre 799 10/11/2016
2.1.283-pre 810 10/11/2016
2.0.576 1,273 5/4/2017
2.0.548 1,334 3/17/2017
2.0.547 1,154 3/17/2017
2.0.546 1,170 3/17/2017
2.0.544 1,141 3/17/2017
2.0.543-pre 826 3/17/2017
2.0.465 1,221 2/21/2017
2.0.464 1,048 2/20/2017
2.0.457 1,119 2/20/2017
2.0.454 1,103 2/17/2017
2.0.452-pre 820 2/17/2017
2.0.451 1,138 2/17/2017
2.0.448 1,101 2/16/2017
2.0.429 1,030 2/13/2017
2.0.422 1,069 2/3/2017
2.0.398 1,097 1/16/2017
2.0.393 1,124 1/12/2017
2.0.392 1,032 1/9/2017
2.0.389 1,087 1/8/2017
2.0.385 1,047 1/6/2017
2.0.369-pre 848 12/22/2016
2.0.367 1,043 12/21/2016
2.0.362 1,108 12/13/2016
2.0.361 1,032 12/13/2016
2.0.347 1,068 12/10/2016
2.0.344 1,046 12/6/2016
2.0.335 1,104 11/30/2016
2.0.330 1,099 11/29/2016
2.0.328 1,068 11/28/2016
2.0.327 1,074 11/28/2016
2.0.321 1,100 11/18/2016
2.0.320 1,031 11/17/2016
2.0.319 1,029 11/17/2016
2.0.318 1,048 11/17/2016
2.0.317 1,166 11/16/2016
2.0.299 1,112 10/21/2016
2.0.297 1,012 10/21/2016
2.0.296 1,034 10/21/2016
2.0.294 1,028 10/21/2016
2.0.289 1,018 10/21/2016
2.0.288 1,004 10/20/2016
2.0.287 1,023 10/18/2016
2.0.282 1,175 10/10/2016
2.0.281-pre 800 10/7/2016
2.0.274 1,244 10/7/2016
2.0.270 1,110 10/4/2016
2.0.263 1,048 9/30/2016
2.0.259 1,087 9/27/2016
2.0.258 1,145 9/23/2016
2.0.257 1,404 9/21/2016
2.0.256-pre 1,101 9/21/2016
2.0.255-pre 1,139 9/21/2016
2.0.253-pre 1,062 9/20/2016
2.0.252-pre 1,018 9/20/2016
2.0.251-pre 1,041 9/20/2016
2.0.250-pre 1,023 9/20/2016
2.0.249-pre 1,170 9/19/2016
2.0.248-pre 1,165 9/19/2016
2.0.247-pre 1,185 9/19/2016
2.0.246-pre 964 9/17/2016
2.0.245-pre 961 9/17/2016
2.0.243-pre 1,046 9/17/2016
2.0.242-pre 1,099 9/17/2016
2.0.241-pre 1,142 9/16/2016
2.0.240-pre 820 9/16/2016
2.0.239-pre 798 9/14/2016
2.0.238-pre 852 9/14/2016
2.0.237-pre 822 9/13/2016
2.0.236-pre 949 9/13/2016
2.0.235-pre 816 9/13/2016
2.0.234-pre 796 9/9/2016
2.0.233-pre 803 9/9/2016
2.0.232-pre 818 9/9/2016
2.0.231-pre 854 9/7/2016
2.0.230-pre 808 9/7/2016
2.0.229-pre 803 9/7/2016
2.0.228-pre 819 9/7/2016
2.0.227-pre 802 9/6/2016
2.0.221-pre 803 9/6/2016
2.0.210-pre 834 9/2/2016
2.0.209-pre 842 9/2/2016
2.0.208-pre 824 9/2/2016
2.0.207-pre 809 9/2/2016
2.0.206-pre 843 9/2/2016
2.0.204-pre 779 9/2/2016
2.0.203-pre 810 9/2/2016
2.0.202-pre 813 9/1/2016
2.0.201-pre 811 9/1/2016
2.0.200-pre 805 9/1/2016
2.0.194-pre 832 8/31/2016
2.0.193-pre 804 8/31/2016
2.0.192-pre 846 8/31/2016
2.0.191-pre 827 8/31/2016
2.0.190-pre 845 8/31/2016
2.0.189-pre 822 8/31/2016
2.0.188-pre 830 8/31/2016
2.0.184-pre 832 8/30/2016
2.0.183-pre 813 8/29/2016
2.0.182-pre 852 8/29/2016
2.0.172-pre 824 8/26/2016
2.0.171-pre 835 8/26/2016
2.0.170-pre 823 8/26/2016
2.0.169-pre 811 8/26/2016
2.0.168-pre 819 8/26/2016
2.0.167-pre 840 8/25/2016
2.0.166-pre 844 8/25/2016
2.0.164-pre 809 8/25/2016
2.0.163-pre 807 8/25/2016
2.0.162-pre 967 8/24/2016
2.0.161-pre 812 8/24/2016
2.0.160-pre 851 8/24/2016
2.0.159-pre 817 8/24/2016
2.0.158-pre 811 8/24/2016
2.0.157-pre 838 8/24/2016
2.0.156-pre 812 8/24/2016
2.0.155-pre 803 8/24/2016
2.0.154-pre 827 8/24/2016
2.0.153-pre 847 8/24/2016
2.0.152-pre 810 8/23/2016
2.0.151-pre 825 8/23/2016
2.0.150-pre 833 8/23/2016
2.0.145-pre 830 8/20/2016
2.0.142-pre 854 8/16/2016
2.0.141-pre 839 8/16/2016
2.0.139-pre 837 8/16/2016
2.0.138-pre 835 8/15/2016
2.0.137-pre 812 8/15/2016
2.0.136-pre 812 8/15/2016
2.0.134-pre 822 8/15/2016
2.0.133-pre 830 8/12/2016
2.0.132-pre 802 8/12/2016
2.0.130-pre 844 8/12/2016
2.0.126-pre 853 8/11/2016
2.0.125-pre 810 8/11/2016
2.0.124-pre 804 8/11/2016
2.0.123-pre 840 8/11/2016
2.0.122-pre 820 8/10/2016
2.0.121-pre 794 8/10/2016
2.0.120-pre 807 8/9/2016
2.0.119-pre 817 8/9/2016
2.0.103-pre 920 7/26/2016
2.0.88-pre 859 7/21/2016
2.0.83-pre 885 7/15/2016
2.0.82-pre 1,007 7/14/2016
2.0.81-pre 1,008 7/14/2016
2.0.80-pre 1,023 7/13/2016
2.0.78-pre 1,019 7/13/2016
2.0.77-pre 1,012 7/13/2016
1.0.87 1,300 7/20/2016
1.0.86 1,045 7/20/2016
1.0.85 1,074 7/20/2016
1.0.84-pre 838 7/20/2016
1.0.76-pre 1,021 7/13/2016
1.0.61-pre 843 6/27/2016
1.0.56-pre 803 5/16/2016
1.0.54 1,700 4/18/2016
1.0.53 1,060 4/15/2016
1.0.51 1,108 4/5/2016
1.0.41 1,162 3/25/2016
1.0.40 1,050 3/24/2016
1.0.39 1,025 3/24/2016
1.0.38 1,037 3/23/2016
1.0.36 1,355 3/8/2016
1.0.34 1,309 2/29/2016
1.0.33 1,149 2/22/2016
1.0.32 1,191 2/16/2016
1.0.31 1,118 2/12/2016
1.0.30 1,185 2/12/2016
1.0.29 1,060 2/12/2016
1.0.28 1,058 2/10/2016
1.0.14 1,115 2/5/2016
1.0.10 1,184 1/27/2016