I am using MongoDb server installed on VM Ubuntu 14 on Azure, and I use this tutroial, with last version. I add the port of mongo 27017 too. And I connect to it directly and add Database with some collections. I use the mongoDb .Net Driver on VS2015 in C# with version 2.0.1 (using link) and try to connect to the Mongo Server, but the state of the server is disconnected
var client = new MongoClient("mongodb://name.cloudapp.net:27017");
var state = client.Cluster.Description.State;
MessageBox.Show(state.ToString());
I used it before the same steps and nothing happen, just I don't know where is the problem