Sir How to Make Connection String in Web.config File Using User Name And Password.

132 views
Skip to first unread message

Hariom Sharma

unread,
Sep 7, 2017, 7:59:53 AM9/7/17
to mongodb-user
Sir i want to connect a particular MongoDb database to c# application using Web.config.
Please tell me how to do that.
?

Wan Bachtiar

unread,
Sep 18, 2017, 1:36:30 AM9/18/17
to mongodb-user

Hi Hariom,

Please see MongoDB C# Driver: Getting Started to get started with writing a MongoDB .Net application. You can utilise Connection String URI to connect to a particular MongoDB database/collection.

If you have further questions, please include:

  • MongoDB C# Driver version.
  • Reproducible code snippet.
  • If any, error log or messages that you’re getting.

Regards,
Wan.

Reply all
Reply to author
Forward
0 new messages