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

GridFS with new C# 2.0 Driver

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.0
    • GridFS

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: