Dwight Merriman, founder of 10gen, presented today, at Lab49 where I work, about his new database platform:
Mongo (from "humongous") is a high-performance, open source, schema-free document-oriented database. MongoDB is written in C++ and offers the following features:
- Collection oriented storage: easy storage of object/JSON -style data
- Dynamic queries
- Full index support, including on inner objects and embedded arrays
- Query profiling
- Replication and fail-over support
- Efficient storage of binary data including large objects (e.g. photos and videos)
- Auto-sharding for cloud-level scalability
PowerShell
Dwight pointed out the way different languages could to talk to MongoDB and C# was one of them using a community developed driver.
Following the post Experimenting with MongoDB from C#, MongoDB was up and running and I was storing and retrieving data in no time.
F#
Looks like Matthew Podwysocki used the same reference and has MongoDB working with F#.



{ 3 trackbacks }
{ 4 comments… read them below or add one }
Doug,
Thanks for writing this article. As I mentioned when we met in the codecampnyc speaker lounge, there is a new MongoDB C# driver. Unfortunately, the crud methods are all generics even though the MongoServer class is not generic, so you need to use reflection to call them.
That being said, Robert just submitted a patch I wrote that does make one aspect of using the driver in PowerShell easier. MongoDocument now has a constructor that takes a HashTable. This allows you to create MongoDocuments with the @{} notation.
An example of using the new driver in powershell:
https://gist.github.com/854911/393238e85f03a2bd9762d55c2b0efa9162de16e1
A thread on the matter:
https://groups.google.com/d/topic/mongodb-dev/10i4wSefwA8/discussion
Thanks for the update about the MongDB driver.
Doug,
Robert just submitted some more powershell related improvements to the mongodb driver.
https://github.com/mongodb/mongo-csharp-driver/commits/master
Thanks Justin.