12

I started my project in Asp.net MVC(c#) & SQL Server 2005.I want to implement Object Databases in my project. While searched in google i found "MongoDb" & db4o

I didn't have enough knowledge in Object Databases & which one best suited for SQL Server 2005.

Please suggest a good example/reference regarding Object Databases implementation in Asp.net MVC application

6
  • This might be better as a question and not a wiki. Commented Mar 16, 2010 at 4:56
  • I am sorry,now i will correct it Commented Mar 16, 2010 at 5:01
  • @amexn, could you please explain why you (need) mongodb rather than something a little more widely used such as linq2sql? if all you want is objects representing your model then... Commented Mar 16, 2010 at 5:06
  • I read an article regarding Object Databases.so i need to try in my project weblogs.asp.net/andrewrea/archive/2010/03/15/… Commented Mar 16, 2010 at 5:09
  • Both MongoDB and db4o are independent databases - they replace, not work with, SQL Server 2005. Commented Mar 28, 2010 at 0:54

4 Answers 4

2
+50

For a good introduction to MongoDB with C#, you might look at this series:

As for using it from ASP.net MVC, I don't know of any reference-implementation yet.

Sign up to request clarification or add additional context in comments.

Comments

2

I guess you want to get started in MongoDb with asp.net MVC. In that case get the latest community supported drivers for Mongodb from http://github.com/samus/mongodb-csharp and follow this step by step blog post http://odetocode.com/Blogs/scott/archive/2009/10/13/experimenting-with-mongodb-from-c.aspx

Comments

0

Have a look at Rob Conery's blog at http://www.wekeroad.com. He's been doing a lot of work lately with MongoDB. His main project which provides an object persistence interface, although it is still very much a work in progress, can be found on github as NoRM.

Comments

-2

What exactly do you want to implement? What do you mean saying "Object Databases"? Most likely you just need an ORM (Object-Relational Mapper) tool to work with RDBMS in object-oriented way. You can find list of ORMs here.

3 Comments

Linq To Sql comes to mind as it's really easy and requires no code at all. then maybe implement a repository pattern. I removed my answer saying as much but then thought @amexn was thinking more in terms of MongoDB.
I need db4o/MongoDb Object Database
he refers to object database as a system that directly store/retrieve application objects (usually through binary serialization) as opposed to relational ones that store tables, rows etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.