Click here to Skip to main content
15,889,849 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi,

Presently I am working on a project which is having mongodb as database. Before moving forward, I need to get some of the things clarified.
1. Is it compulsory to have mongodb installed in every machine to run the application(which is involved mongodb in it's implementation.).
2. If there is possibility to connect to a server database machine, how to give connection string(not for local host) in code?

Please provide me the answers as soon as possible. If possible, Please attach a sample application of mongodb used in mvc 4 web api using JSON in asp.net C#.
Posted
Updated 18-Mar-13 20:30pm
v2

1 solution


  1. No!
  2. Yes: Getting Started with MongoDB Development[^]
    Since you didn't specify which language you are going to use to write your aplication, here is a list of all language bindings for MongoDB: MongoDB Drivers and Client Libraries[^]


In case you want to use the C# language binding you may want to start here: Getting Started with the CSharp Driver[^]. MongoDB Connections String Format[^] sounds like another resource you might find useful.

Regards,

— Manfred
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900