MongoDB in the Windows Environment
I’ve put together a couple of posts that are taking MongoDB for a ride on a Windows environment.
Firstly, you have to install MongoDB. You can use a MongoDB Windows installer ☞ or choose to run it in a virtual machine.
In case you decide to go the first route, you may find this post ☞ useful as it will walk you from getting MongoDB installed on your Windows machine, start using the MongoDB console and then using mongodb-csharp to connect to MongoDB from C#. In case you prefer to jump directly to coding, you should probably check Getting started with MongoDB and C#.
It is interesting to note that both articles are using the same C# library: mongodb-csharp, which recently has added a LINQ provider ☞ (via @alastairs).
This other post ☞ will show you how to get MongoDB running inside VirtualBox hosted on Windows machine with a Ubuntu 9.10 guest. Then you’ll be able to use Visual Studio and one of the many MongoDB C# libraries to connect to MongoDB.
If instead of C# you’d like to try out MongoDB from F# then you’ll probably like to check this article ☞, which covers some nice features of using the F# dynamic constructs.
Rubyist and Pythonistas have a lot more materials to play with and here are just a few examples:
- Introduction to MongoDB screencast
- MongoDB for Python or Ruby. Your choice
- MongoDB and Ruby with Hashrocket guys
- MongoDB with Kyle Banker
Last, but not least, I couldn’t find anything about Visual Basic and MongoDB :-)!