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

Deprecate MongoClient.GetServer() and Remove MongoServer.Create()

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: 1.7
    • Component/s: None
    • Labels:
      None
    • Minor Change

      The MongoClient class was introduced in version 1.7 of the driver to support moving to the new Acknowledged WriteConcern and to standardize on the name of the root object across drivers. We'll be removing the MongoServer.Create methods and the ctors to MongoServer so that no users are still using the old WriteConcern default.

      In addition, we'll be deprecating the MongoClient.GetServer method to discourage it's use as it is an entry point into the legacy API.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: