[CSHARP-1247] GridFS with new C# 2.0 Driver Created: 21/Apr/15  Updated: 05/Apr/19  Resolved: 21/Apr/15

Status: Closed
Project: C# Driver
Component/s: GridFS
Affects Version/s: 2.0
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Peter Gordon Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: question
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CSHARP-1191 Implement new GridFS async API Closed

 Description   

Do you guys have an example of how to connect to GridFS using the new c# 2.0 driver?

In the earlier version, you could get the database (MongoDatabase) and then run db.GetGridFS(MongoGridFSSettings settings).

In the new version, I am accessing the database through IMongoDatabase and there does not seem to be an extension method on the database to GetGridFS (with MongoDB.Driver.GridFS imported from the legacy 2.0 driver).



 Comments   
Comment by Simon Cropp [ 30/Aug/15 ]

any timeline for 2.1?

Comment by Craig Wilson [ 21/Apr/15 ]

Hi Peter, CSHARP-1191 is tracking this feature. We are currently waiting for a specification all drivers will follow to complete implementation. This is targeted for 2.1. Until then, you'll need to use the legacy API for GridFS.

Craig

Generated at Wed Feb 07 21:39:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.