When should you use Cosmos DB on Azure? It’s a hard question to answer. Azure Cosmos DB tries to do it all - which makes it both powerful and, honestly, kind of confusing. The marketing doesn’t help either. Yeah, it’s a flexible database, but before you jump in, you need to understand how it actually works under the hood, what it’ll cost you, and what trade-offs you’re making by choosing it. I’m going to break all that down.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Using MongoDb.Driver
Develop a Library Web API: Integrating Azure Cosmos DB for MongoDB with ASP.NET Core
As a software developer, you’re always seeking ways to build scalable, high-performance applications. Azure Cosmos DB for MongoDB offers the flexibility of MongoDB with the reliability and global reach of Azure. In this blog, we’ll explore how to integrate Azure Cosmos DB for MongoDB with your ASP.NET Core application, walking through the key steps for setting up a simple API to perform CRUD operations.
Getting Started with .NET and MongoDB: A Perfect Blend for Modern Applications
In the ever-evolving landscape of software development, choosing the right technologies can significantly impact the success and scalability of your applications. .NET and MongoDB have emerged as powerful tools for building robust, high-performance applications. This article will guide you through the essentials of integrating .NET with MongoDB, highlighting the benefits and providing a step-by-step tutorial to get you started. Why Choose .NET and MongoDB? 1.
Using ASP.NET Core OData with MongoDB Atlas
This article focuses on how you can quickly get up and running using Microsoft's ASP.NET Core OData extension with MongoDB Atlas. OData stands for Open Data Protocol which is a standard that allows developers to simplify the process of building and consuming RESTful APIs. MongoDB Atlas is MongoDB's cloud offering that allows you to leverage the full potential of MongoDB's developer data platform without any cloud vendor lock-in.
C# MongoDB Insert Benchmarks - What You Need To Know
In previous articles, I explained how we could use C# and MongoDB to get records inserted. But we started this exploration into MongoDB covering a lot of the basics and I wanted to start looking into more interesting aspects of how we use these things together. As I was putting video content together about all of these topics, one thing that caught my attention was the generic methods vs methods that operated on BsonDocument and I was curious if the performance was any different.
C# MongoDB多条件查询,多集合查询示例。动态过滤方法使用。BsonDocument转成普通的实体对象
直接上代码 MongoDB.Driver包提供的LINQ查询语法。以下是一个使用C#和MongoDB进行多条件查询、多表联查的示例代码: 多条件查询,多表关联 using MongoDB.Driver; using MongoDB.Bson; using System.Linq; namespace MyMongoDBDemo { class Program { static void Main(string[] args) { string connectionString = "mongodb://localhost:27017"; MongoClient mongoClient = new MongoClient(connectionString); var database = mongoClient.GetDatabase("mydatabase"); var ordersCollection = database.GetCollection<BsonDocument>("orders"); var customersCollection =...
ASP.NET6 + Mongo + OData
准备工作 Docker环境 Mongo数据库 配置Mongo数据库 ASP.NET6 集成Mongo 安装MongoDB.Driver { "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "BookStoreDatabase": { "ConnectionString": "mongodb://localhost", "DatabaseName": "BookStore", "BooksCollectionName": "Books" }, "AllowedHosts": "*" } public class BookStoreDatabaseSettings { public string ConnectionString { get; set; } = null!; public string DatabaseName { get; set; } = null!; public string BooksCollectionName {...
Comparing MongoDB and InfluxDB in .NET (C#): An In-Depth Look at Two Popular NoSQL Databases
In this article, we compare MongoDB and InfluxDB, two popular NoSQL databases, to help you determine which one is best for your use case. MongoDB is a document-oriented database that is well-suited for unstructured or semi-structured data, while InfluxDB is a time-series database that is optimized for storing and querying time-stamped data.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Using
Contact Using, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack