chapter nine
9 Using NoSQL and cloud storage integrations
This chapter covers
- Integrating .NET Aspire with MongoDB
- Using Azure Cosmos DB inside .NET Aspire
- Integrating Azure Table Storage with .NET Aspire
- Connecting Azure Blob Storage to .NET Aspire
NoSQL refers to any data storage technologies that don’t adhere to the traditional relational structure. Contrary to the term, some of these database technologies use the SQL language (or, at least, a language based on SQL). However, other than this, they don’t consist of standard tables and relationships between them.
There are several types of NoSQL databases, which include the following:
- Document store: Store data as documents, often in formats like JSON or BSON (e.g., MongoDB, Couchbase, etc.).
- Key-value store: Store data as key-value pairs, similar to a dictionary (e.g., Redis, DynamoDB).
- Graph databases: Focus on relationships between data points, representing data as nodes and edges (e.g., Neo4j, ArangoDB).
- Column-family store: Organize data into columns and rows, but unlike relational databases, columns can vary between rows (e.g., Cassandra, HBase).
There isn’t any single technology that unifies them and even different databases of the same category work differently from each other.