title: mongodb gridfs in C# new api
body: <p>i am new with MongoDB, and i can't find GridFS.
  Where can i get GridFS to store files now ?</p>
  
  <p>I can get it this way:</p>
  
  <pre><code>mongoClient = new MongoClient(Settings.Default.MongoDB);
  var server = mongoClient.GetServer();
  MongoDatabase = server.GetDatabase(Settings.Default.DatabaseName);
  MongoDatabase.GridFS...
  </code></pre>
  
  <p>but GetServer() method is obsolete.</p>
  
  <p>if I get database as here:</p>
  
  <pre><code>MongoDatabase2 = mongoClient.GetDatabase(Settings.Default.DatabaseName);
  MongoDatabase2.GridFS... not working
  </code></pre>
  
  <p>Then i receive IMongoDatabase instead MongoDatabase, and i didnt have GridFS.</p>