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

ClusterBuilder.ConfigureWithConnectionString should allow using with SRV

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Configuration
    • None

      It looks like this method https://github.com/mongodb/mongo-csharp-driver/blob/master/src/MongoDB.Driver.Core/Core/Configuration/ClusterBuilderExtensions.cs#L56 doesn't support working with SRV. When I used connection string for my atlas cluster, the below levels for example MultiServerCluster didn't have the correct ClusterSettings._scheme value (it was just MongoDb)

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: