views:

388

answers:

4

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

A: 

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.

Alex Kofman
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.
griegs
I need db4o/MongoDb Object Database
amexn
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.
AZ
+2  A: 

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

suhair
+2  A: 

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.

asgerhallas
A: 

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.

37Stars