All Projects → mongodb → Mongo Csharp Driver

mongodb / Mongo Csharp Driver

Licence: other
.NET Driver for MongoDB

Programming Languages

C#
18002 projects
Visual Basic .NET
514 projects
shell
77523 projects
python
139335 projects - #7 most used programming language
perl
6916 projects
javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Mongo Csharp Driver

Mongock
Lightweight MongoDB migration tool for Java
Stars: ✭ 220 (-91.94%)
Mutual labels:  mongodb
Db
Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
Stars: ✭ 2,832 (+3.74%)
Mutual labels:  mongodb
Mongodb Enterprise Kubernetes
MongoDB Enterprise Kubernetes Operator
Stars: ✭ 232 (-91.5%)
Mutual labels:  mongodb
Mongodb Quickstart Course
Course demos and handout material for Talk Python's MongoDB Quickstart course
Stars: ✭ 220 (-91.94%)
Mutual labels:  mongodb
Fsqio
A monorepo that holds all of Foursquare's opensource projects
Stars: ✭ 223 (-91.83%)
Mutual labels:  mongodb
Building Testable Apis With Nodejs
Repositório oficial do livro: Construindo APIs testáveis com Node.js
Stars: ✭ 227 (-91.68%)
Mutual labels:  mongodb
Nodejs Microservice Starter
🌱 NodeJS RESTful API Microservice Starter
Stars: ✭ 220 (-91.94%)
Mutual labels:  mongodb
Spider job
招聘网数据爬虫
Stars: ✭ 234 (-91.43%)
Mutual labels:  mongodb
Spring Dubbo Service
微服务 spring dubbo项目:dubbo rpc;druid数据源连接池;mybatis配置集成,多数据源;jmx监控MBean;定时任务;aop;ftp;测试;Metrics监控;参数验证;跨域处理;shiro权限控制;consul服务注册,发现;redis分布式锁;SPI服务机制;cat监控;netty服务代理;websocket;disconf;mongodb集成;rest;docker;fescar
Stars: ✭ 224 (-91.79%)
Mutual labels:  mongodb
Spring Security Pac4j
pac4j security library for Spring Security: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 231 (-91.54%)
Mutual labels:  mongodb
Mongolid Laravel
Easy, powerful and ultrafast MongoDB ODM for Laravel.
Stars: ✭ 222 (-91.87%)
Mutual labels:  mongodb
Nestjs Email Authentication
Nestjs Starter using Mongodb and Passportjs
Stars: ✭ 222 (-91.87%)
Mutual labels:  mongodb
Php Mongo
MongoDB ODM. Part of @PHPMongoKit
Stars: ✭ 228 (-91.65%)
Mutual labels:  mongodb
Full Reactive Stack
Full Reactive Stack with Spring Boot (WebFlux), MongoDB and Angular
Stars: ✭ 221 (-91.9%)
Mutual labels:  mongodb
Machine Learning
Web-interface + rest API for classification and regression (https://jeff1evesque.github.io/machine-learning.docs)
Stars: ✭ 235 (-91.39%)
Mutual labels:  mongodb
Cloudtunes
Web-based music player for the cloud ☁️ 🎶 Play music from YouTube, Dropbox, etc.
Stars: ✭ 2,449 (-10.29%)
Mutual labels:  mongodb
Dotnet New Caju
Learn Clean Architecture with .NET Core 3.0 🔥
Stars: ✭ 228 (-91.65%)
Mutual labels:  mongodb
Mongodb Plugin
MongoDB Plugin for Java
Stars: ✭ 236 (-91.36%)
Mutual labels:  mongodb
Node Typescript Api
🚀Complete Node.js API built using 👉Typescript | Jest | MongoDB | Express
Stars: ✭ 234 (-91.43%)
Mutual labels:  mongodb
Edda
A log visualizer for MongoDB - This Repository is NOT a supported MongoDB product
Stars: ✭ 229 (-91.61%)
Mutual labels:  mongodb

MongoDB C# Driver

You can get the latest stable release from the official Nuget.org feed or from our github releases page.

Getting Started

Untyped Documents

using MongoDB.Bson;
using MongoDB.Driver;
var client = new MongoClient("mongodb://localhost:27017");
var database = client.GetDatabase("foo");
var collection = database.GetCollection<BsonDocument>("bar");

await collection.InsertOneAsync(new BsonDocument("Name", "Jack"));

var list = await collection.Find(new BsonDocument("Name", "Jack"))
    .ToListAsync();

foreach(var document in list)
{
    Console.WriteLine(document["Name"]);
}

Typed Documents

using MongoDB.Bson;
using MongoDB.Driver;
public class Person
{
    public ObjectId Id { get; set; }
    public string Name { get; set; }
}
var client = new MongoClient("mongodb://localhost:27017");
var database = client.GetDatabase("foo");
var collection = database.GetCollection<Person>("bar");

await collection.InsertOneAsync(new Person { Name = "Jack" });

var list = await collection.Find(x => x.Name == "Jack")
    .ToListAsync();

foreach(var person in list)
{
    Console.WriteLine(person.Name);
}

Documentation

Questions/Bug Reports

If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.

Contributing

Please see our guidelines for contributing to the driver.

Maintainers:

Contributors:

If you have contributed and we have neglected to add you to this list please contact one of the maintainers to be added to the list (with apologies).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].