For many reasons—including scalability, flexibility, and modernization—more and more development teams are looking to migrate away from PostgreSQL to MongoDB. In the past, these teams might have been hesitant if they used Entity Framework Core (EF Core) as their object relational mapper (ORM).
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.Bson
When to Use Cosmos DB
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.
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 Entity Framework Core with MongoDB
Entity Framework Core is a popular ORM (Object-Relational Mapper) for .NET applications, allowing developers to work with databases using .NET objects. It can be used with many types of databases, including MongoDB. In this article, you will learn how you can use Entity Framework Core with MongoDB. This article covers the basics, explains the benefits, and provides a step-by-step tutorial.
Using Entity Framework Core with MongoDB
Entity Framework Core is a popular ORM (Object-Relational Mapper) for .NET applications, allowing developers to work with databases using .NET objects. It can be used with many types of databases, including MongoDB. In this article, you will learn how you can use Entity Framework Core with MongoDB. This article covers the basics, explain the benefits, and provide a step-by-step tutorial.
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 =...
Building a Crypto News Website in C# using the Microsoft Azure App Service and MongoDB Atlas
Who said creating a website has to be hard? Writing the code, persisting news, hosting the website. A decade ago this might have been a lot of work. These days, thanks to Microsoft Blazor, Microsoft Azure App Service, and MongoDB Atlas you can get started in minutes.
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 {...
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