Prabhat Maurya

Prabhat Maurya

  • NA
  • 300
  • 2.2k

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

Oct 13 2016 9:08 AM
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)