[CSHARP-664] Deprecate MongoClient.GetServer() and Remove MongoServer.Create() Created: 17/Jan/13  Updated: 02/Apr/15  Resolved: 07/Nov/14

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.7
Fix Version/s: 2.0

Type: Improvement Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CSHARP-663 Move life cycle managament of server ... Closed
Epic Link: New Client API
Backwards Compatibility: Minor Change

 Description   

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.



 Comments   
Comment by Githook User [ 07/Nov/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-664: Removed new extension method that was not worthy.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/9bbb470cbcb7341d12fb911cef399b968bede2e6

Comment by Githook User [ 07/Nov/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-664: Converted some tests to use the new high level API instead of using #pragma to ignore the warning when GetServer is called.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/df1641f414284a41bf1bf0104d59d89045e1e06a

Comment by Githook User [ 07/Nov/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-664: Deprecate MongoClient.GetServer() and remove MongoServer.Create() methods.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/13646fb2fc760955ad76d87e5a37bc6062e36414

Generated at Wed Feb 07 21:37:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.