Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Document based database for .NET [closed]

I would like to use some kind of nosql database in my web application which is written in asp.net mvc , but cannot find anything useful. I have a looked at MongoDB and CouchDB but i'd like to have better api (strongly typed not magic strings) for my queries than they have. Is anything like this exists for .NET ?

like image 225
Tadeusz Wójcik Avatar asked Oct 21 '09 22:10

Tadeusz Wójcik


People also ask

Which database is a document based database?

Document databases are considered to be non-relational (or NoSQL) databases. Instead of storing data in fixed rows and columns, document databases use flexible documents. Document databases are the most popular alternative to tabular, relational databases. Learn more about NoSQL databases.

What is example of document based database?

Popular document-oriented databases include MongoDB, DynamoDB and CosmosDB. MongoDB is one of the most popular examples of a document-oriented database. It includes features such as full index support, replication and sharding.

Is MongoDB a document database?

MongoDB is a non-relational document database that provides support for JSON-like storage. The MongoDB database has a flexible data model that enables you to store unstructured data, and it provides full indexing support, and replication with rich and intuitive APIs.

Is DynamoDB a document database?

What is DynamoDB? DynamoDB is a proprietary NoSQL database by Amazon that supports key-value and document data offered via the Amazon Web Services. This AWS cloud-only offering provides a scalable, highly available, and secure managed database platform for any application.


1 Answers

I'm the principle author behind the .Net driver for Mongo. There isn't currently a ORM like mapper for it yet. Instead it works on simple documents that are the equivalent of a dictionary. It wouldn't be hard to use reflection to iterate over the fields in a document and assign them to properties on an object. I've written a simple thing like that for LDAP results in the past. You don't have to worry about sql injection with Mongo as there really isn't a query language that gets parsed. All drivers talk to Mongo in its native tongue. There is some potential if you dynamically generate javascript and send it to the DB but the need for that should mostly be rare. If you have any questions about using the driver feel free to post them to the Google Group or send a message through GitHub.

like image 149
Sam Corder Avatar answered Oct 03 '22 22:10

Sam Corder