Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 69 lines (60 sloc) 2.593 kb
d55dbc1 @samus Initial release on GitHub
authored
1 MongoDB-CSharp
2 ==============
47b7192 @samus Moved AddUser to the DatabaseMetaData class
authored
3 This is a community supported release of a driver to connect to MongoDB using .Net. It is written entirely in C# and has been tested and developed under both Windows and Mono 2.0 (Ubuntu 32-bit 9.04). Currently many features have been implemented with a few remaining. The api is very likely to change and be in flux for a while but is quickly settling down. At this point it is becoming a solid base to add many more advanced features.
d55dbc1 @samus Initial release on GitHub
authored
4
5 Current Features
6 ================
7 - Connect to a server.
8 - Query
9 - Insert
10 - Update
11 - Delete
399b05f Updated readme to reflect current state and contributors.
unknown authored
12 - All BSON types supported
cdef7f0 @samus Added Database.FollowReference to dereference a DBRef.cs
authored
13 - DBRef support
d55dbc1 @samus Initial release on GitHub
authored
14 - Isolation and conversion between BSON types and native .net types.
15 - Database, Collection and Cursor objects.
0bbb2cc Removed an unnecesary file.
Samuel Corder authored
16 - Index handling routines (List, Create, Drop)
cdef7f0 @samus Added Database.FollowReference to dereference a DBRef.cs
authored
17 - Count
18 - Roughly 80% unit test coverage. This can and will be improved on.
47b7192 @samus Moved AddUser to the DatabaseMetaData class
authored
19 - Paired connections
20 - Authentication (Does not reauthorize on auto reconnect yet).
399b05f Updated readme to reflect current state and contributors.
unknown authored
21 - Database Commands
22 - Basic Linq support
4189880 @samus Added a test to test the CreateNew mode.
authored
23 - GridFS support
cc799f5 @samus Updated readme.
authored
24 - Map Reduce helpers.
25 - hint, explain, $where
d4f72ef GridFileInfo.Exists()
Samuel Corder authored
26 - Safemode
27 - Exceptions
d55dbc1 @samus Initial release on GitHub
authored
28
29 Missing Features
30 ================
31 - Auto reconnect options
cc799f5 @samus Updated readme.
authored
32 - Connection pooling (In progress)
d55dbc1 @samus Initial release on GitHub
authored
33 - database profiling: set/get profiling level, get profiling info
34 - Many unit tests
35
36 Installation
37 ============
38 Currently using the driver in the GAC is not supported. Simply copy the driver assembly somewhere and reference it in your project. It should be deployed in your application's bin directory. It is not necessary to use the test assembly.
39
40 Patches
41 =======
42 Patches are welcome and will likely be accepted. By submitting a patch you assign the copyright to me, Sam Corder. This is necessary to simplify the number of copyright holders should it become necessary that the copyright need to be reassigned or the code relicensed. The code will always be available under an OSI approved license.
cdef7f0 @samus Added Database.FollowReference to dereference a DBRef.cs
authored
43
44 Usage
45 =====
46 One of the best sources for how to use the driver is the unit tests. Basic usage can be found in the TestCollection set of test cases.
47
48 At the simplest query the database like this:
49 using MongoDB.Driver;
50 Mongo db = new Mongo();
51 db.Connect(); //Connect to localhost on the default port.
52 Document query = new Document();
53 query["field1"] = 10;
54 Document result = db["tests"]["reads"].FindOne(query);
55 db.Disconnect();
56
4189880 @samus Added a test to test the CreateNew mode.
authored
57 Getting Help
cc799f5 @samus Updated readme.
authored
58 ============
4189880 @samus Added a test to test the CreateNew mode.
authored
59 The Google Group mongodb-csharp at (http://http://groups.google.com/group/mongodb-csharp) is the best place to go.
60
fcd14c9 @samus Changed Collection.Insert to take an IEnumerable<Document> to provide mo...
authored
61 Contributors
62 ============
06e5fc2 @samus Merged authentication code from Seth Edwards
authored
63 - Sam Corder (samus)
64 - Seth Edwards (Sedward)
399b05f Updated readme to reflect current state and contributors.
unknown authored
65 - Arne Classen (Sdether)
d4f72ef GridFileInfo.Exists()
Samuel Corder authored
66 - Steve Wagner (lanwin)
399b05f Updated readme to reflect current state and contributors.
unknown authored
67 - Andrew Kempe
06e5fc2 @samus Merged authentication code from Seth Edwards
authored
68 - Sergey Bartunov (sbos)
Something went wrong with that request. Please try again.