[DOCS-8521] .Net Driver 2.2 Getting started is not up-to-date - showing a reference to GridFSOptions instead of GridFSBucketOptions Created: 07/Aug/16  Updated: 27/Jan/21  Resolved: 27/Jan/21

Status: Closed
Project: Documentation
Component/s: drivers
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Tomer Yakir Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: groom
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Case.png    
Participants:
Days since reply: 3 years, 2 weeks, 1 day ago

 Description   

On the documentation page for the C# driver, the getting started page is not up to date with the correct method options.

Current documentation

IMongoDatabase database;
 
var bucket = new GridFSBucket(database, new GridFSOptions
{
    BucketName = "videos",
    ChunkSizeBytes = 1048576, // 1MB
    WriteConcern = WriteConcern.Majority,
    ReadPreference = ReadPeference.Secondary
});

However, the driver expects a GridFSBucketOptions.



 Comments   
Comment by Nathan Leniz [ 27/Jan/21 ]

Closing this issue. It appears the option is correctly documented in later versions, and it appears there are zero 2.2 users connecting to Atlas.

Generated at Thu Feb 08 07:56:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.