Foundatio.Repositories
7.16.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Foundatio.Repositories --version 7.16.1
NuGet\Install-Package Foundatio.Repositories -Version 7.16.1
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.16.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Foundatio.Repositories --version 7.16.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Foundatio.Repositories, 7.16.1"
#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.
// Install Foundatio.Repositories as a Cake Addin
#addin nuget:?package=Foundatio.Repositories&version=7.16.1
// Install Foundatio.Repositories as a Cake Tool
#tool nuget:?package=Foundatio.Repositories&version=7.16.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 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. |
.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.
-
.NETStandard 2.0
- Foundatio (>= 10.3.1)
- Foundatio.JsonNet (>= 10.3.1)
- Newtonsoft.Json (>= 13.0.1)
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.8 | 1,081 | 3/27/2024 |
7.17.7 | 2,823 | 1/5/2024 |
7.17.6 | 1,098 | 10/26/2023 |
7.17.5 | 1,580 | 8/2/2023 |
7.17.4 | 1,381 | 6/23/2023 |
7.17.3 | 8,703 | 1/1/2023 |
7.17.2 | 5,131 | 5/18/2022 |
7.17.1 | 3,387 | 3/10/2022 |
7.17.0 | 1,221 | 3/7/2022 |
7.16.2 | 1,766 | 1/21/2022 |
7.16.1 | 1,490 | 1/21/2022 |
7.16.0 | 1,444 | 1/20/2022 |
7.15.0 | 1,991 | 10/11/2021 |
7.13.2 | 1,627 | 7/19/2021 |
7.13.1 | 1,031 | 7/19/2021 |
7.13.0 | 1,032 | 7/8/2021 |
7.12.2 | 1,189 | 5/6/2021 |
7.12.1 | 1,745 | 4/15/2021 |
7.12.0 | 1,071 | 4/13/2021 |
7.10.5 | 1,576 | 2/1/2021 |
7.10.4 | 1,135 | 1/26/2021 |
7.10.3 | 1,112 | 1/20/2021 |
7.10.2 | 1,097 | 1/7/2021 |
7.10.1 | 1,275 | 12/11/2020 |
7.10.0 | 1,690 | 11/17/2020 |
7.9.3 | 1,678 | 10/19/2020 |
7.9.2 | 1,404 | 10/9/2020 |
7.9.1 | 1,254 | 10/7/2020 |
7.9.0 | 1,379 | 9/16/2020 |
7.9.0-beta5 | 847 | 9/15/2020 |
7.9.0-beta3 | 1,298 | 8/28/2020 |
7.9.0-beta2 | 805 | 8/27/2020 |
7.9.0-beta1 | 853 | 8/25/2020 |
7.8.0-beta8 | 903 | 7/29/2020 |
7.8.0-beta7 | 917 | 7/9/2020 |
7.8.0-beta12 | 815 | 8/10/2020 |
7.8.0-beta11 | 916 | 8/6/2020 |
7.7.0-beta5 | 1,057 | 6/20/2020 |
7.7.0-beta4 | 982 | 6/14/2020 |
7.7.0-beta3 | 952 | 6/6/2020 |
7.7.0-beta2 | 962 | 5/26/2020 |
7.6.1 | 5,510 | 3/25/2020 |
7.6.0 | 3,187 | 2/27/2020 |
7.5.6 | 2,528 | 2/14/2020 |
7.5.5 | 1,415 | 2/11/2020 |
7.5.4 | 1,792 | 2/5/2020 |
7.5.1 | 2,651 | 1/17/2020 |
7.5.0 | 1,275 | 1/16/2020 |
7.0.890 | 8,276 | 8/20/2019 |
7.0.887 | 1,278 | 8/19/2019 |
7.0.885 | 1,410 | 8/19/2019 |
7.0.880 | 1,344 | 8/19/2019 |
7.0.877 | 1,444 | 8/16/2019 |
7.0.865 | 2,405 | 6/27/2019 |
5.6.921 | 3,021 | 9/23/2019 |
5.6.905 | 1,424 | 8/30/2019 |
5.6.900 | 1,996 | 8/30/2019 |
5.6.870 | 2,596 | 7/26/2019 |
5.6.848 | 6,721 | 4/17/2019 |
5.6.845 | 1,826 | 3/15/2019 |
5.6.843 | 1,378 | 3/14/2019 |
5.6.839 | 1,399 | 3/14/2019 |
5.6.836 | 1,484 | 2/24/2019 |
5.6.833 | 1,675 | 2/22/2019 |
5.6.815 | 5,871 | 12/4/2018 |
5.6.809 | 2,628 | 11/9/2018 |
5.6.807 | 1,420 | 11/9/2018 |
5.6.798 | 2,219 | 10/18/2018 |
5.6.793 | 3,033 | 10/4/2018 |
5.6.790 | 2,047 | 9/12/2018 |
5.6.768 | 2,164 | 7/16/2018 |
5.6.758 | 2,403 | 5/9/2018 |
5.6.670 | 2,225 | 11/30/2017 |
5.0.648 | 1,900 | 10/4/2017 |
5.0.645 | 1,749 | 10/4/2017 |
5.0.636 | 1,795 | 10/3/2017 |
5.0.627 | 1,947 | 9/15/2017 |
5.0.624 | 1,999 | 9/15/2017 |
5.0.621 | 1,801 | 9/5/2017 |
5.0.619 | 1,845 | 8/17/2017 |
5.0.607 | 1,277 | 7/14/2017 |
5.0.603 | 982 | 7/7/2017 |
5.0.598 | 1,510 | 6/23/2017 |
5.0.595 | 991 | 6/23/2017 |
5.0.593 | 986 | 6/23/2017 |
5.0.586 | 1,119 | 5/5/2017 |
5.0.539-pre | 828 | 3/16/2017 |
5.0.538-pre | 801 | 3/16/2017 |
5.0.537-pre | 753 | 3/16/2017 |
5.0.536-pre | 825 | 3/16/2017 |
5.0.535-pre | 762 | 3/16/2017 |
5.0.532-pre | 776 | 3/14/2017 |
5.0.529-pre | 770 | 3/14/2017 |
5.0.520-pre | 827 | 3/13/2017 |
5.0.519-pre | 774 | 3/13/2017 |
5.0.518-pre | 753 | 3/13/2017 |
5.0.517-pre | 773 | 3/13/2017 |
5.0.516-pre | 834 | 3/13/2017 |
5.0.515-pre | 771 | 3/13/2017 |
5.0.514-pre | 782 | 3/12/2017 |
5.0.513-pre | 756 | 3/11/2017 |
5.0.512-pre | 775 | 3/11/2017 |
5.0.503-pre | 1,499 | 3/6/2017 |
5.0.501-pre | 1,403 | 3/6/2017 |
5.0.487-pre | 1,334 | 3/1/2017 |
5.0.485-pre | 1,473 | 3/1/2017 |
5.0.478-pre | 1,385 | 2/28/2017 |
5.0.472-pre | 1,387 | 2/26/2017 |
5.0.470-pre | 1,383 | 2/26/2017 |
5.0.467-pre | 1,464 | 2/21/2017 |
5.0.466-pre | 1,407 | 2/21/2017 |
5.0.462-pre | 1,417 | 2/20/2017 |
5.0.459-pre | 1,374 | 2/20/2017 |
5.0.455-pre | 1,334 | 2/17/2017 |
5.0.450-pre | 1,362 | 2/17/2017 |
5.0.449-pre | 1,381 | 2/17/2017 |
5.0.443-pre | 1,429 | 2/16/2017 |
5.0.440-pre | 1,356 | 2/15/2017 |
5.0.437-pre | 1,356 | 2/15/2017 |
5.0.434-pre | 1,358 | 2/14/2017 |
5.0.433-pre | 1,372 | 2/14/2017 |
5.0.432-pre | 1,341 | 2/14/2017 |
5.0.427-pre | 1,492 | 2/7/2017 |
5.0.426-pre | 1,308 | 2/6/2017 |
5.0.425-pre | 1,250 | 2/6/2017 |
5.0.423-pre | 1,283 | 2/3/2017 |
5.0.421-pre | 1,356 | 1/31/2017 |
5.0.420-pre | 1,349 | 1/31/2017 |
5.0.418-pre | 1,237 | 1/30/2017 |
5.0.414-pre | 1,306 | 1/28/2017 |
5.0.408-pre | 1,396 | 1/25/2017 |
5.0.407-pre | 1,340 | 1/20/2017 |
5.0.406-pre | 1,328 | 1/20/2017 |
5.0.405-pre | 1,316 | 1/19/2017 |
5.0.397-pre | 1,297 | 1/13/2017 |
5.0.396-pre | 1,320 | 1/13/2017 |
5.0.394-pre | 1,312 | 1/12/2017 |
5.0.390-pre | 1,350 | 1/8/2017 |
5.0.387-pre | 1,240 | 1/7/2017 |
5.0.386-pre | 1,361 | 1/7/2017 |
5.0.375-pre | 1,402 | 12/29/2016 |
5.0.373-pre | 1,323 | 12/28/2016 |
5.0.371-pre | 1,302 | 12/22/2016 |
5.0.370-pre | 1,296 | 12/22/2016 |
5.0.368-pre | 1,335 | 12/21/2016 |
5.0.366-pre | 1,292 | 12/19/2016 |
5.0.364-pre | 1,390 | 12/14/2016 |
5.0.363-pre | 1,313 | 12/14/2016 |
5.0.360-pre | 1,345 | 12/13/2016 |
5.0.359-pre | 1,368 | 12/13/2016 |
5.0.355-pre | 1,323 | 12/12/2016 |
5.0.353-pre | 1,340 | 12/12/2016 |
5.0.351-pre | 1,293 | 12/12/2016 |
5.0.346-pre | 1,336 | 12/7/2016 |
5.0.343-pre | 1,315 | 12/6/2016 |
5.0.336-pre | 1,312 | 11/30/2016 |
5.0.333-pre | 1,340 | 11/29/2016 |
5.0.332-pre | 1,353 | 11/29/2016 |
5.0.331-pre | 1,273 | 11/29/2016 |
5.0.329-pre | 1,334 | 11/29/2016 |
5.0.326-pre | 1,290 | 11/25/2016 |
5.0.325-pre | 1,333 | 11/23/2016 |
5.0.324-pre | 1,352 | 11/19/2016 |
5.0.309-pre | 1,436 | 11/15/2016 |
5.0.307-pre | 1,322 | 11/12/2016 |
5.0.306-pre | 1,609 | 11/3/2016 |
5.0.305-pre | 1,372 | 11/2/2016 |
5.0.286-pre | 1,309 | 10/12/2016 |
5.0.285-pre | 1,282 | 10/11/2016 |
2.1.284-pre | 1,289 | 10/11/2016 |
2.1.283-pre | 1,272 | 10/11/2016 |
2.0.576 | 1,957 | 5/4/2017 |
2.0.548 | 2,011 | 3/17/2017 |
2.0.547 | 1,835 | 3/17/2017 |
2.0.546 | 1,795 | 3/17/2017 |
2.0.544 | 1,813 | 3/17/2017 |
2.0.543-pre | 1,339 | 3/17/2017 |
2.0.465 | 1,898 | 2/21/2017 |
2.0.464 | 1,698 | 2/20/2017 |
2.0.457 | 1,786 | 2/20/2017 |
2.0.454 | 1,735 | 2/17/2017 |
2.0.452-pre | 1,363 | 2/17/2017 |
2.0.451 | 1,845 | 2/17/2017 |
2.0.448 | 1,852 | 2/16/2017 |
2.0.429 | 1,734 | 2/13/2017 |
2.0.422 | 1,707 | 2/3/2017 |
2.0.398 | 1,759 | 1/16/2017 |
2.0.393 | 1,762 | 1/12/2017 |
2.0.392 | 1,643 | 1/9/2017 |
2.0.389 | 1,771 | 1/8/2017 |
2.0.385 | 1,708 | 1/6/2017 |
2.0.369-pre | 1,315 | 12/22/2016 |
2.0.367 | 1,667 | 12/21/2016 |
2.0.362 | 1,751 | 12/13/2016 |
2.0.361 | 1,682 | 12/13/2016 |
2.0.347 | 1,710 | 12/10/2016 |
2.0.344 | 1,675 | 12/6/2016 |
2.0.335 | 1,715 | 11/30/2016 |
2.0.330 | 1,714 | 11/29/2016 |
2.0.328 | 1,698 | 11/28/2016 |
2.0.327 | 1,718 | 11/28/2016 |
2.0.321 | 1,757 | 11/18/2016 |
2.0.320 | 1,621 | 11/17/2016 |
2.0.319 | 1,605 | 11/17/2016 |
2.0.318 | 1,683 | 11/17/2016 |
2.0.317 | 1,796 | 11/16/2016 |
2.0.299 | 1,678 | 10/21/2016 |
2.0.297 | 1,630 | 10/21/2016 |
2.0.296 | 1,685 | 10/21/2016 |
2.0.294 | 1,671 | 10/21/2016 |
2.0.289 | 1,564 | 10/21/2016 |
2.0.288 | 1,584 | 10/20/2016 |
2.0.287 | 1,663 | 10/18/2016 |
2.0.282 | 1,821 | 10/10/2016 |
2.0.281-pre | 1,257 | 10/7/2016 |
2.0.274 | 1,923 | 10/7/2016 |
2.0.270 | 1,766 | 10/4/2016 |
2.0.263 | 1,678 | 9/30/2016 |
2.0.259 | 1,708 | 9/27/2016 |
2.0.258 | 1,794 | 9/23/2016 |
2.0.257 | 2,070 | 9/21/2016 |
2.0.256-pre | 1,595 | 9/21/2016 |
2.0.255-pre | 1,646 | 9/21/2016 |
2.0.253-pre | 1,555 | 9/20/2016 |
2.0.252-pre | 1,421 | 9/20/2016 |
2.0.251-pre | 1,521 | 9/20/2016 |
2.0.250-pre | 1,525 | 9/20/2016 |
2.0.249-pre | 1,628 | 9/19/2016 |
2.0.248-pre | 1,650 | 9/19/2016 |
2.0.247-pre | 1,691 | 9/19/2016 |
2.0.246-pre | 1,451 | 9/17/2016 |
2.0.245-pre | 1,429 | 9/17/2016 |
2.0.243-pre | 1,545 | 9/17/2016 |
2.0.242-pre | 1,620 | 9/17/2016 |
2.0.241-pre | 1,649 | 9/16/2016 |
2.0.240-pre | 1,281 | 9/16/2016 |
2.0.239-pre | 1,301 | 9/14/2016 |
2.0.238-pre | 1,280 | 9/14/2016 |
2.0.237-pre | 1,284 | 9/13/2016 |
2.0.236-pre | 1,461 | 9/13/2016 |
2.0.235-pre | 1,349 | 9/13/2016 |
2.0.234-pre | 1,246 | 9/9/2016 |
2.0.233-pre | 1,278 | 9/9/2016 |
2.0.232-pre | 1,304 | 9/9/2016 |
2.0.231-pre | 1,355 | 9/7/2016 |
2.0.230-pre | 1,229 | 9/7/2016 |
2.0.229-pre | 1,276 | 9/7/2016 |
2.0.228-pre | 1,273 | 9/7/2016 |
2.0.227-pre | 1,225 | 9/6/2016 |
2.0.221-pre | 1,328 | 9/6/2016 |
2.0.210-pre | 1,336 | 9/2/2016 |
2.0.209-pre | 1,279 | 9/2/2016 |
2.0.208-pre | 1,325 | 9/2/2016 |
2.0.207-pre | 1,291 | 9/2/2016 |
2.0.206-pre | 1,387 | 9/2/2016 |
2.0.204-pre | 1,270 | 9/2/2016 |
2.0.203-pre | 1,264 | 9/2/2016 |
2.0.202-pre | 1,306 | 9/1/2016 |
2.0.201-pre | 1,263 | 9/1/2016 |
2.0.200-pre | 1,237 | 9/1/2016 |
2.0.194-pre | 1,291 | 8/31/2016 |
2.0.193-pre | 1,275 | 8/31/2016 |
2.0.192-pre | 1,359 | 8/31/2016 |
2.0.191-pre | 1,309 | 8/31/2016 |
2.0.190-pre | 1,309 | 8/31/2016 |
2.0.189-pre | 1,322 | 8/31/2016 |
2.0.188-pre | 1,303 | 8/31/2016 |
2.0.184-pre | 1,348 | 8/30/2016 |
2.0.183-pre | 1,324 | 8/29/2016 |
2.0.182-pre | 1,310 | 8/29/2016 |
2.0.172-pre | 1,259 | 8/26/2016 |
2.0.171-pre | 1,340 | 8/26/2016 |
2.0.170-pre | 1,341 | 8/26/2016 |
2.0.169-pre | 1,278 | 8/26/2016 |
2.0.168-pre | 1,312 | 8/26/2016 |
2.0.167-pre | 1,319 | 8/25/2016 |
2.0.166-pre | 1,293 | 8/25/2016 |
2.0.164-pre | 1,334 | 8/25/2016 |
2.0.163-pre | 1,270 | 8/25/2016 |
2.0.162-pre | 1,435 | 8/24/2016 |
2.0.161-pre | 1,276 | 8/24/2016 |
2.0.160-pre | 1,339 | 8/24/2016 |
2.0.159-pre | 1,288 | 8/24/2016 |
2.0.158-pre | 1,282 | 8/24/2016 |
2.0.157-pre | 1,299 | 8/24/2016 |
2.0.156-pre | 1,257 | 8/24/2016 |
2.0.155-pre | 1,220 | 8/24/2016 |
2.0.154-pre | 1,302 | 8/24/2016 |
2.0.153-pre | 1,359 | 8/24/2016 |
2.0.152-pre | 1,284 | 8/23/2016 |
2.0.151-pre | 1,337 | 8/23/2016 |
2.0.150-pre | 1,327 | 8/23/2016 |
2.0.145-pre | 1,265 | 8/20/2016 |
2.0.142-pre | 1,328 | 8/16/2016 |
2.0.141-pre | 1,331 | 8/16/2016 |
2.0.139-pre | 1,301 | 8/16/2016 |
2.0.138-pre | 1,263 | 8/15/2016 |
2.0.137-pre | 1,336 | 8/15/2016 |
2.0.136-pre | 1,285 | 8/15/2016 |
2.0.134-pre | 1,274 | 8/15/2016 |
2.0.133-pre | 1,314 | 8/12/2016 |
2.0.132-pre | 1,303 | 8/12/2016 |
2.0.130-pre | 1,282 | 8/12/2016 |
2.0.126-pre | 1,316 | 8/11/2016 |
2.0.125-pre | 1,333 | 8/11/2016 |
2.0.124-pre | 1,285 | 8/11/2016 |
2.0.123-pre | 1,346 | 8/11/2016 |
2.0.122-pre | 1,284 | 8/10/2016 |
2.0.121-pre | 1,271 | 8/10/2016 |
2.0.120-pre | 1,287 | 8/9/2016 |
2.0.119-pre | 1,376 | 8/9/2016 |
2.0.103-pre | 1,402 | 7/26/2016 |
2.0.88-pre | 1,333 | 7/21/2016 |
2.0.83-pre | 1,365 | 7/15/2016 |
2.0.82-pre | 1,503 | 7/14/2016 |
2.0.81-pre | 1,494 | 7/14/2016 |
2.0.80-pre | 1,533 | 7/13/2016 |
2.0.78-pre | 1,505 | 7/13/2016 |
2.0.77-pre | 1,527 | 7/13/2016 |
1.0.87 | 1,986 | 7/20/2016 |
1.0.86 | 1,704 | 7/20/2016 |
1.0.85 | 1,697 | 7/20/2016 |
1.0.84-pre | 1,344 | 7/20/2016 |
1.0.76-pre | 1,483 | 7/13/2016 |
1.0.61-pre | 1,358 | 6/27/2016 |
1.0.56-pre | 1,277 | 5/16/2016 |
1.0.54 | 2,322 | 4/18/2016 |
1.0.53 | 1,674 | 4/15/2016 |
1.0.51 | 1,717 | 4/5/2016 |
1.0.41 | 1,788 | 3/25/2016 |
1.0.40 | 1,711 | 3/24/2016 |
1.0.39 | 1,692 | 3/24/2016 |
1.0.38 | 1,684 | 3/23/2016 |
1.0.36 | 2,005 | 3/8/2016 |
1.0.34 | 1,875 | 2/29/2016 |
1.0.33 | 1,689 | 2/22/2016 |
1.0.32 | 1,821 | 2/16/2016 |
1.0.31 | 1,735 | 2/12/2016 |
1.0.30 | 1,906 | 2/12/2016 |
1.0.29 | 1,729 | 2/12/2016 |
1.0.28 | 1,745 | 2/10/2016 |
1.0.14 | 1,668 | 2/5/2016 |
1.0.10 | 1,845 | 1/27/2016 |