Monday, September 25, 2017

Sample project: https://www.codeproject.com/Articles/656093/Connecting-MongoDB-with-ASP-NET (Old mongo db driver) Visual Studio 2015 Install nuget: MongoDB.Driver 2.4.3 Configuration: Connection string: https://docs.mongodb.com/manual/reference/connection-string/   .net core   https://www.codeproject.com/Articles/1151842/Using-MongoDB-NET-Driver-with-NET-Core-WebAPI http://www.dotnetcurry.com/aspnet-mvc/1267/using-mongodb-nosql-database-with-aspnet-webapi-core Mixing Static and Dynamic Data http://mongodb.github.io/mongo-csharp-driver/2.4/examples/mixing_static_and_dynamic/   TUTORIAL http://edubanq.com/database/mongodb-database/mongodb-from-c-with-the-net-driver-2-0/

https://www.codeproject.com/Articles/1166099/Entity-Framework-Storing-complex-properties-as-JSO Complex properties in entity Framework models such as arrays, dictionaries, and objects can be serialized in SQL Server database in JSON format. In this...

Database First: https://cmatskas.com/ef-core-migrations-with-existing-database-schema-and-data/ dotnet ef migrations add dotnet ef dbcontext scaffold "ConnectionString" --output-dir ReverseModels --force https://docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/existing-db Code first:  

WHAT IS DYNAMODB? Read Unit: 4K, Write Unit: 1KB Requirements: 1000 4KB Item write/second >= 4000 Write Unit/second Avoid hot spot area: Limit: maximum record...

Download rpm curl -OL https://cloud.mongodb.com/download/agent/monitoring/mongodb-mms-monitoring-agent-5.5.0.358-1.x86_64.rpm Install sudo rpm -U mongodb-mms-monitoring-agent-5.5.0.358-1.x86_64.rpm  

Mongodb on EC2 https://docs.mongodb.com/ecosystem/platforms/amazon-ec2/#deploy-mongodb-ec2 Migrate Mongodb to WireTiger http://askubuntu.com/questions/643252/how-to-migrate-mongodb-2-6-to-3-0-with-wiredtiger Start mongod: sudo mongod --dbpath /var/lib/mongodb --config /etc/mongod.conf Deploy Replica https://docs.mongodb.com/manual/tutorial/deploy-replica-set/ Sample option File End  

mongodump --db=app_service_release --collection=661744644___users --out=data mongorestore --db=app_service_release --collection=661744644___users data/app_service_release/661744644___users.bson TOPIC 1: What is a MongoDB Replication Set? MongoDB handles replication through an implementation called "replication sets". Replication sets in...

Giới thiệu MySQL Replication 1. Giới thiệu Right tool for right job. Trước tiên phải hiểu là MySQL Replication không phải là giải pháp giải quyết...

Mongo DB is an No SQL, opensource db, written in C++ Install   sudo apt-get install -y mongodb-org Một số chú ý: Mongodb từ 3.0 hỗ trợ hai loại...

Mogo Shell For more documentation of basic MongoDB operations in the mongo shell, see: Getting Started Guide Insert Documents Query Documents Update Documents Delete Documents mongo Shell Methods 1. Query method For the...