This project has moved. For the latest updates, please go here.
This documentation provides step-by-step information on installing MongoRepository using the binaries available on the downloads page.

Step-by-step installation of MongoRepository using full binaries

  1. Make sure your project is saved
  2. In the Windows Explorer extract the downloaded file (mongorepositoryfull.x.x.x or mongorepositoryx.x.x) to the desired directory
  3. In Visual Studio select the menu Project > Add Reference... and click the Browse button
  4. Navigate to the directory where the files were extracted in step 4
  5. Select DreamSongs.MongoRepository.dll
  6. (OPTIONAL) You might want to add a reference to MongoDB.Bson.dll for more advanced use (like inherited types using BsonKnownTypes attributes)
  7. You're done!

Don't forget to add:
using DreamSongs.MongoRepository;
//using MongoDB.Bson.Serialization.Attributes; //Optional!
in your code where required!

Step-by-step installation of MongoRepository

  1. Download and install 10gen's mongo-csharp-driver
  2. Download and install craiggwilson's fluent-mongo
  3. Download mongorepository_x.x.x
  4. In the Windows Explorer extract the downloaded file (mongorepository_x.x.x) to the desired directory
  5. In Visual Studio select the menu Project > Add Reference... and click the Browse button
  6. Navigate to the directory where the files were extracted in step 2
  7. Select DreamSongs.MongoRepository.dll
  8. Add references to the csharp-driver (from step 1) and fluent-mongo (from step 2) as desired
  9. You're done!

Don't forget to add:
using DreamSongs.MongoRepository;
//using MongoDB.Bson.Serialization.Attributes; //Optional!
in your code where required!

Last edited Dec 6, 2011 at 8:44 PM by RobIII, version 1