![]() |
VOOZH | about |
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" />
<PackageVersion Include="MongoDB.Driver.GridFS" Version="2.30.0" />Directory.Packages.props
<PackageReference Include="MongoDB.Driver.GridFS" />Project file
paket add MongoDB.Driver.GridFS --version 2.30.0
#r "nuget: MongoDB.Driver.GridFS, 2.30.0"
#:package MongoDB.Driver.GridFS@2.30.0
#addin nuget:?package=MongoDB.Driver.GridFS&version=2.30.0Install as a Cake Addin
#tool nuget:?package=MongoDB.Driver.GridFS&version=2.30.0Install as a Cake Tool
You can get the latest stable release from the official Nuget.org feed or from our github releases page.
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"]);
}
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);
}
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.
Please see our 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 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on MongoDB.Driver.GridFS:
| Package | Downloads |
|---|---|
|
NServiceBus.MongoDB
MongoDB persistence for NServiceBus 7 and .Net Standard 2.0 |
|
|
NServiceBus.Persistence.MongoDb
MongoDB Persistence for NServiceBus. |
|
|
LDFCore.Common
Package Description |
|
|
Rsd.Dudu.MongoDb
【数据库访问】MongoDb数据库的访问API。了解更多信息,可通过nuget搜索“redmicro”或登录官方网站:http://www.redmicro.cn |
|
|
Bsynchro.Mongo.Core
Mongo Db factory implentation |
Showing the top 6 popular GitHub repositories that depend on MongoDB.Driver.GridFS:
| Repository | Stars |
|---|---|
|
ravendb/ravendb
ACID Document Database
|
|
|
grandnode/grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
|
|
|
volodymyrsmirnov/MalwareMultiScan
Self-hosted VirusTotal / MetaDefender wannabe with API, demo UI and Scanners running in Docker.
|
|
|
yc-l/yc.boilerplate
YC. Boilerplate is a set of loose coupling, flexible combination, complete functions, convenient development, and reduces the workload of development.
|
|
|
microsoft/Document-Knowledge-Mining-Solution-Accelerator
Solution accelerator built on Azure OpenAI Service and Azure AI Document Intelligence to process and extract summaries, entities, and metadata from unstructured, multi-modal documents and enable searching and chatting over this data.
|
|
|
danvic712/Grapefruit.VuCore
A front-background project using ASP.NET Core WebApi and Vue.js
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.30.0 | 2,217,832 | 10/16/2024 |
| 2.29.0 | 203,692 | 9/18/2024 |
| 2.28.0 | 828,583 | 7/23/2024 |
| 2.27.0 | 463,511 | 6/28/2024 |
| 2.26.0 | 164,320 | 6/12/2024 |
| 2.25.0 | 768,367 | 4/12/2024 |
| 2.24.0 | 731,824 | 2/21/2024 |
| 2.23.2 | 8,351 | 2/20/2024 |
| 2.23.1 | 1,173,419 | 12/15/2023 |
| 2.23.0 | 33,376 | 12/11/2023 |
| 2.22.0 | 481,283 | 10/9/2023 |
| 2.21.0 | 1,168,479 | 8/10/2023 |
| 2.20.0 | 647,508 | 6/21/2023 |
| 2.19.2 | 946,152 | 5/25/2023 |
| 2.19.1 | 869,743 | 3/27/2023 |
| 2.19.0 | 772,415 | 1/27/2023 |
| 2.18.0 | 952,676 | 10/14/2022 |
| 2.17.1 | 609,070 | 7/30/2022 |
| 2.17.0 | 158,631 | 7/18/2022 |
| 2.16.1 | 325,685 | 6/21/2022 |