MongoGenericRepository 10.1.0
dotnet add package MongoGenericRepository --version 10.1.0
NuGet\Install-Package MongoGenericRepository -Version 10.1.0
<PackageReference Include="MongoGenericRepository" Version="10.1.0" />
<PackageVersion Include="MongoGenericRepository" Version="10.1.0" />
<PackageReference Include="MongoGenericRepository" />
paket add MongoGenericRepository --version 10.1.0
#r "nuget: MongoGenericRepository, 10.1.0"
#:package MongoGenericRepository@10.1.0
#addin nuget:?package=MongoGenericRepository&version=10.1.0
#tool nuget:?package=MongoGenericRepository&version=10.1.0
Straightforward, generic, extensible CRUD repository for MongoDB
| 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 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 is compatible. 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 is compatible. 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.Options (>= 10.0.2)
- MongoDB.Driver (>= 3.6.0)
-
net10.0
- Microsoft.Extensions.Options (>= 10.0.2)
- MongoDB.Driver (>= 3.6.0)
-
net8.0
- Microsoft.Extensions.Options (>= 10.0.2)
- MongoDB.Driver (>= 3.6.0)
-
net9.0
- Microsoft.Extensions.Options (>= 10.0.2)
- MongoDB.Driver (>= 3.6.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MongoGenericRepository:
| Package | Downloads |
|---|---|
|
MongoGenericRepository.HealthChecks
Optional HealthChecks Add-On for MongoGenericRepository (checks ReadOnly / ReadWrite connections). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.1.0 | 77 | 1/16/2026 |
| 10.0.0 | 75 | 1/16/2026 |
| 9.0.4 | 590 | 4/16/2025 |
| 9.0.3 | 226 | 4/16/2025 |
| 9.0.2 | 229 | 4/15/2025 |
| 9.0.1 | 611 | 3/24/2025 |
| 9.0.0 | 244 | 11/20/2024 |
| 8.0.1 | 159 | 10/1/2024 |
| 8.0.0 | 887 | 11/16/2023 |
| 1.0.20 | 285 | 8/23/2023 |
| 1.0.19 | 384 | 4/28/2023 |
| 1.0.18 | 300 | 3/21/2023 |
| 1.0.17 | 366 | 12/28/2022 |
| 1.0.16 | 614 | 10/14/2022 |
| 1.0.15 | 514 | 10/7/2022 |
| 1.0.14 | 1,004 | 4/22/2022 |
| 1.0.13 | 602 | 8/11/2021 |
| 1.0.12 | 460 | 8/11/2021 |
| 1.0.11 | 528 | 7/27/2021 |
| 1.0.10 | 499 | 6/2/2021 |
| 1.0.9 | 502 | 5/21/2021 |
| 1.0.8 | 642 | 1/8/2021 |
| 1.0.7 | 544 | 1/8/2021 |
| 1.0.6 | 520 | 1/5/2021 |
| 1.0.5 | 541 | 1/4/2021 |
| 1.0.4 | 615 | 1/1/2021 |
| 1.0.3 | 623 | 1/1/2021 |
| 1.0.2 | 656 | 9/16/2020 |
| 1.0.1 | 646 | 9/15/2020 |
| 1.0.0 | 687 | 9/4/2020 |
Handle invalid ID formats in Get methods of repository
- Updated Get(TKey id) and Get(IEnumerable<TKey> ids) methods in ReadOnlyDataRepository to catch FormatException and ArgumentException
- These methods now return null or an empty list, respectively, when invalid ID formats are provided
- Improved robustness against bad input (e.g., invalid ObjectId strings)
- Both methods are now async