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
                    
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="MongoDB.Driver.GridFS" Version="2.30.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MongoDB.Driver.GridFS" Version="2.30.0" />
                    
Directory.Packages.props
<PackageReference Include="MongoDB.Driver.GridFS" />
                    
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 MongoDB.Driver.GridFS --version 2.30.0
                    
#r "nuget: MongoDB.Driver.GridFS, 2.30.0"
                    
#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.
#addin nuget:?package=MongoDB.Driver.GridFS&version=2.30.0
                    
Install MongoDB.Driver.GridFS as a Cake Addin
#tool nuget:?package=MongoDB.Driver.GridFS&version=2.30.0
                    
Install MongoDB.Driver.GridFS as a Cake Tool

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 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.  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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (148)

Showing the top 5 NuGet packages that depend on MongoDB.Driver.GridFS:

Package Downloads
UserProfileManagement.Data

Package Description

NServiceBus.MongoDB

MongoDB persistence for NServiceBus 7 and .Net Standard 2.0

NServiceBus.Persistence.MongoDb

MongoDB Persistence for NServiceBus.

Squidex.Assets.Mongo

Squidex Internal Libraries

Bsynchro.Mongo.Core

Mongo Db factory implentation

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on MongoDB.Driver.GridFS:

Repository Stars
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.
Version Downloads Last updated
2.30.0 594,654 10/16/2024
2.29.0 112,720 9/18/2024
2.28.0 444,546 7/23/2024
2.27.0 300,547 6/28/2024
2.26.0 95,310 6/12/2024
2.25.0 560,574 4/12/2024
2.24.0 453,328 2/21/2024
2.23.2 6,296 2/20/2024
2.23.1 790,936 12/15/2023
2.23.0 27,257 12/11/2023
2.22.0 390,333 10/9/2023
2.21.0 514,042 8/10/2023
2.20.0 557,607 6/21/2023
2.19.2 573,780 5/25/2023
2.19.1 764,918 3/27/2023
2.19.0 644,920 1/27/2023
2.18.0 854,866 10/14/2022
2.17.1 557,965 7/30/2022
2.17.0 134,139 7/18/2022
2.16.1 311,656 6/21/2022
2.16.0 94,173 6/7/2022
2.15.1 248,705 5/4/2022
2.15.0 620,511 3/9/2022
2.14.1 449,372 12/3/2021
2.14.0 38,677 11/24/2021
2.14.0-beta1 4,455 10/15/2021
2.13.3 103,128 11/23/2021
2.13.2 1,270,511 10/6/2021
2.13.1 384,622 8/4/2021
2.13.0 197,505 7/13/2021
2.13.0-beta1 2,903 3/31/2021
2.12.5 17,797 11/20/2021
2.12.4 186,661 6/4/2021
2.12.3 178,750 5/4/2021
2.12.2 119,153 4/7/2021
2.12.1 194,098 3/23/2021
2.12.0 117,273 3/3/2021
2.12.0-beta1 2,164 11/6/2020
2.11.6 225,415 1/20/2021
2.11.5 244,400 12/2/2020
2.11.4 265,221 11/4/2020
2.11.3 92,041 10/15/2020
2.11.2 248,786 9/10/2020
2.11.1 130,510 8/25/2020
2.11.0 100,670 7/30/2020
2.11.0-beta2 1,699 6/10/2020
2.11.0-beta1 1,844 4/10/2020
2.10.4 465,774 5/5/2020
2.10.3 161,897 4/7/2020
2.10.2 412,744 2/14/2020
2.10.1 103,885 1/15/2020
2.10.0 313,186 12/10/2019
2.10.0-beta1 2,964 10/2/2019
2.9.3 121,262 11/8/2019
2.9.2 220,349 9/30/2019
2.9.1 114,603 8/21/2019
2.9.0 6,026 8/15/2019
2.9.0-beta2 1,885 6/17/2019
2.9.0-beta1 4,484 3/13/2019
2.8.1 537,743 5/15/2019
2.8.0 114,861 3/13/2019
2.7.3 131,501 1/24/2019
2.7.2 256,490 11/10/2018
2.7.1 3,014 11/8/2018
2.7.0 342,860 6/27/2018
2.7.0-beta0001 3,051 4/22/2018
2.6.1 105,265 5/17/2018
2.6.0 26,084 4/24/2018
2.5.1 21,570 4/19/2018
2.5.0 295,097 12/12/2017
2.4.4 390,460 6/8/2017
2.4.3 47,253 3/9/2017
2.4.2 17,434 2/2/2017
2.4.1 26,914 1/4/2017
2.4.0 19,965 11/29/2016
2.4.0-beta1 2,952 10/5/2016
2.3.0 92,835 9/23/2016
2.3.0-rc1 2,333 8/29/2016
2.3.0-beta1 2,054 8/3/2016
2.2.4 66,817 5/18/2016
2.2.3 40,652 2/2/2016
2.2.2 6,898 1/15/2016
2.2.1 4,676 1/8/2016
2.2.0 10,278 12/7/2015
2.2.0-rc0 2,071 11/18/2015
2.1.1 11,146 11/11/2015
2.1.0 10,070 10/19/2015
2.1.0-rc1 2,150 10/7/2015
2.1.0-rc0 2,213 9/17/2015