Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1247

GridFS with new C# 2.0 Driver

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0
    • Component/s: GridFS

      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).

            Assignee:
            Unassigned Unassigned
            Reporter:
            pgordon@truckdown.com Peter Gordon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: