1
Answer

How to connect mongodB with .Net MVC application using 2015?

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.
Answers (1)