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 ?
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With