This project is read-only.

MongoDB Embedded

Mar 3, 2012 at 5:19 PM
Edited Mar 3, 2012 at 5:20 PM

It is cool to see what you did to make it easy to embed Mongo in a application.  I considered doing something like that and discussed it with Robert, the fellow at 10gen that maintains the c# diver and he suggested the approach you have taken in your library. 

One question:  Using it in an embedded context don't you have to worry about port numbers to avoid interfering with both mongo installed and other embedded mongo instances? Looking at the code I don't see anything regarding setting the port number (you could do it explicitly in the bindid I suppose?) but maybe I am missing something.

Thanks for your efforts and I look forward to trying this lib.


Mar 19, 2012 at 11:55 AM
Edited Mar 19, 2012 at 1:56 PM


Hope it all works ok for you using this library. No I haven't explicitly declared a property Port, you must use extra arguments property and set "--port <arg>" in order to use different port. I'll add it later on and make a release of via nuget (see wo