How to connect mongoDB server with ASP.NET MVC application using VS-2015. I am trying to connect but i am getting error at "server = client.GetServer();"
saying that ' MongoClientExtension.Getserver(MongoClient)' is obsolete:Use the new API'.
I am using MongDB.Driver and MongoCSsharpdriver.