MongoDB.Driver.GridFS
2.30.0
Prefix Reserved
dotnet add package MongoDB.Driver.GridFS --version 2.30.0
NuGet\Install-Package MongoDB.Driver.GridFS -Version 2.30.0
<PackageReference Include="MongoDB.Driver.GridFS" Version="2.30.0" />
paket add MongoDB.Driver.GridFS --version 2.30.0
#r "nuget: MongoDB.Driver.GridFS, 2.30.0"
// Install MongoDB.Driver.GridFS as a Cake Addin #addin nuget:?package=MongoDB.Driver.GridFS&version=2.30.0 // Install MongoDB.Driver.GridFS as a Cake Tool #tool nuget:?package=MongoDB.Driver.GridFS&version=2.30.0
MongoDB C# Driver
You can get the latest stable release from the official Nuget.org feed or from our github releases page.
Getting Started
Untyped Documents
using MongoDB.Bson;
using MongoDB.Driver;
var client = new MongoClient("mongodb://localhost:27017");
var database = client.GetDatabase("foo");
var collection = database.GetCollection<BsonDocument>("bar");
await collection.InsertOneAsync(new BsonDocument("Name", "Jack"));
var list = await collection.Find(new BsonDocument("Name", "Jack"))
.ToListAsync();
foreach(var document in list)
{
Console.WriteLine(document["Name"]);
}
Typed Documents
using MongoDB.Bson;
using MongoDB.Driver;
public class Person
{
public ObjectId Id { get; set; }
public string Name { get; set; }
}
var client = new MongoClient("mongodb://localhost:27017");
var database = client.GetDatabase("foo");
var collection = database.GetCollection<Person>("bar");
await collection.InsertOneAsync(new Person { Name = "Jack" });
var list = await collection.Find(x => x.Name == "Jack")
.ToListAsync();
foreach(var person in list)
{
Console.WriteLine(person.Name);
}
Documentation
Questions/Bug Reports
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.
Contributing
Please see our guidelines for contributing to the driver.
Thank you to everyone who has contributed to this project.
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 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. 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. |
-
.NETFramework 4.7.2
- MongoDB.Bson (>= 2.30.0)
- MongoDB.Driver (>= 2.30.0)
- MongoDB.Driver.Core (>= 2.30.0)
-
.NETStandard 2.0
- MongoDB.Bson (>= 2.30.0)
- MongoDB.Driver (>= 2.30.0)
- MongoDB.Driver.Core (>= 2.30.0)
-
.NETStandard 2.1
- MongoDB.Bson (>= 2.30.0)
- MongoDB.Driver (>= 2.30.0)
- MongoDB.Driver.Core (>= 2.30.0)
NuGet packages (157)
Showing the top 5 NuGet packages that depend on MongoDB.Driver.GridFS:
Package | Downloads |
---|---|
MassTransit.MongoDb
MassTransit MongoDb persistence support; MassTransit provides a developer-focused, modern platform for creating distributed applications without complexity. |
|
TIKSN-Framework
This is a .NET Framework enhancement framework. Main features are Versioning, Finance, Currency, Foreign Exchange, Money, Pricing strategy, Telemetry, Composite Weighted Progress, Repository and Unity of Wok pattern implementation with Entity Framework Core, Network Connectivity Service and Triggering, Settings, Windows Registry configuration source, Azure Storage Repository, MongoDB Repository, NoDB Repository, Lingual and Regional Localization, Serialization, Rest Requester, Rest Repository, Dependency Injection, Composition Root Setup base classes. |
|
Rebus.MongoDb
MongoDB-based persistence for Rebus |
|
Bsynchro.DataAccess.Mongo.Abstract
Exposing different methods interfaces to execute on a Mongo database |
|
Microsoft.KernelMemory.MongoDbAtlas
MongoDb Atlas connector for Microsoft Kernel Memory, to store and search memory records with embeddings, and files. |
GitHub repositories (10)
Showing the top 5 popular GitHub repositories that depend on MongoDB.Driver.GridFS:
Repository | Stars |
---|---|
MassTransit/MassTransit
Distributed Application Framework for .NET
|
|
ravendb/ravendb
ACID Document Database
|
|
Squidex/squidex
Headless CMS and Content Managment Hub
|
|
grandnode/grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
|
|
microsoft/kernel-memory
RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.
|
Version | Downloads | Last updated |
---|---|---|
2.30.0 | 35,470 | 10/16/2024 |
2.29.0 | 36,331 | 9/18/2024 |
2.28.0 | 218,253 | 7/23/2024 |
2.27.0 | 154,976 | 6/28/2024 |
2.26.0 | 55,071 | 6/12/2024 |
2.25.0 | 398,823 | 4/12/2024 |
2.24.0 | 321,372 | 2/21/2024 |
2.23.2 | 4,191 | 2/20/2024 |
2.23.1 | 533,987 | 12/15/2023 |
2.23.0 | 24,574 | 12/11/2023 |
2.22.0 | 337,980 | 10/9/2023 |
2.21.0 | 240,249 | 8/10/2023 |
2.20.0 | 443,451 | 6/21/2023 |
2.19.2 | 371,379 | 5/25/2023 |
2.19.1 | 659,331 | 3/27/2023 |
2.19.0 | 584,451 | 1/27/2023 |
2.18.0 | 748,672 | 10/14/2022 |
2.17.1 | 526,574 | 7/30/2022 |
2.17.0 | 119,817 | 7/18/2022 |
2.16.1 | 305,169 | 6/21/2022 |
2.16.0 | 91,754 | 6/7/2022 |
2.15.1 | 216,001 | 5/4/2022 |
2.15.0 | 600,064 | 3/9/2022 |
2.14.1 | 433,116 | 12/3/2021 |
2.14.0 | 37,861 | 11/24/2021 |
2.14.0-beta1 | 4,411 | 10/15/2021 |
2.13.3 | 91,964 | 11/23/2021 |
2.13.2 | 1,186,463 | 10/6/2021 |
2.13.1 | 367,957 | 8/4/2021 |
2.13.0 | 187,015 | 7/13/2021 |
2.13.0-beta1 | 2,859 | 3/31/2021 |
2.12.5 | 13,688 | 11/20/2021 |
2.12.4 | 178,597 | 6/4/2021 |
2.12.3 | 173,568 | 5/4/2021 |
2.12.2 | 116,332 | 4/7/2021 |
2.12.1 | 190,232 | 3/23/2021 |
2.12.0 | 112,782 | 3/3/2021 |
2.12.0-beta1 | 2,089 | 11/6/2020 |
2.11.6 | 216,557 | 1/20/2021 |
2.11.5 | 232,157 | 12/2/2020 |
2.11.4 | 260,487 | 11/4/2020 |
2.11.3 | 91,262 | 10/15/2020 |
2.11.2 | 241,177 | 9/10/2020 |
2.11.1 | 129,046 | 8/25/2020 |
2.11.0 | 98,078 | 7/30/2020 |
2.11.0-beta2 | 1,629 | 6/10/2020 |
2.11.0-beta1 | 1,780 | 4/10/2020 |
2.10.4 | 436,322 | 5/5/2020 |
2.10.3 | 158,799 | 4/7/2020 |
2.10.2 | 403,166 | 2/14/2020 |
2.10.1 | 102,867 | 1/15/2020 |
2.10.0 | 300,398 | 12/10/2019 |
2.10.0-beta1 | 2,911 | 10/2/2019 |
2.9.3 | 119,783 | 11/8/2019 |
2.9.2 | 216,910 | 9/30/2019 |
2.9.1 | 110,864 | 8/21/2019 |
2.9.0 | 5,940 | 8/15/2019 |
2.9.0-beta2 | 1,835 | 6/17/2019 |
2.9.0-beta1 | 4,428 | 3/13/2019 |
2.8.1 | 512,120 | 5/15/2019 |
2.8.0 | 111,636 | 3/13/2019 |
2.7.3 | 126,459 | 1/24/2019 |
2.7.2 | 255,025 | 11/10/2018 |
2.7.1 | 2,940 | 11/8/2018 |
2.7.0 | 333,551 | 6/27/2018 |
2.7.0-beta0001 | 2,879 | 4/22/2018 |
2.6.1 | 96,572 | 5/17/2018 |
2.6.0 | 25,701 | 4/24/2018 |
2.5.1 | 21,358 | 4/19/2018 |
2.5.0 | 276,634 | 12/12/2017 |
2.4.4 | 384,344 | 6/8/2017 |
2.4.3 | 45,369 | 3/9/2017 |
2.4.2 | 16,886 | 2/2/2017 |
2.4.1 | 26,361 | 1/4/2017 |
2.4.0 | 19,808 | 11/29/2016 |
2.4.0-beta1 | 2,824 | 10/5/2016 |
2.3.0 | 90,152 | 9/23/2016 |
2.3.0-rc1 | 2,206 | 8/29/2016 |
2.3.0-beta1 | 1,927 | 8/3/2016 |
2.2.4 | 64,813 | 5/18/2016 |
2.2.3 | 37,802 | 2/2/2016 |
2.2.2 | 5,955 | 1/15/2016 |
2.2.1 | 4,534 | 1/8/2016 |
2.2.0 | 10,125 | 12/7/2015 |
2.2.0-rc0 | 1,938 | 11/18/2015 |
2.1.1 | 10,864 | 11/11/2015 |
2.1.0 | 9,023 | 10/19/2015 |
2.1.0-rc1 | 2,011 | 10/7/2015 |
2.1.0-rc0 | 2,066 | 9/17/2015 |