https://github.com/zleao/portablemongodb
How to implement a service that is able to handle both an Azure Cosmos DB and an on premisse Mongo DB instance
https://github.com/zleao/portablemongodb
azure-cosmos-db c-sharp mongodb
Last synced: about 1 month ago
JSON representation
How to implement a service that is able to handle both an Azure Cosmos DB and an on premisse Mongo DB instance
- Host: GitHub
- URL: https://github.com/zleao/portablemongodb
- Owner: zleao
- License: mit
- Created: 2020-07-10T16:27:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T23:29:29.000Z (over 3 years ago)
- Last Synced: 2025-02-02T04:24:08.708Z (over 1 year ago)
- Topics: azure-cosmos-db, c-sharp, mongodb
- Language: C#
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Portable solution for cloud (Azure) and on premise Cosmos DB instances
**How to implement a service that is able to handle both an Azure Cosmos DB and an on premisse Mongo DB instance**
This is the source code for the [blog post on Medium](https://medium.com/medialesson/working-with-mongodb-on-premises-and-cloud-environments-4551ca284b76), related to the implementation of a service that is capable of handling both on premise and cloud (Azure) instances of MongoDb.
## Compatibility:
- Azure Cosmos Db (MongoDB API v3.2)
- Mongo DB v3.2 ([How to install](https://docs.mongodb.com/v3.2/tutorial/install-mongodb-on-windows/))
- VS2017+
## Get started
- Install a local instance of MongoDB OR Create an Azure Cosmos DB Account.
- Pull the repo code to your local system
- Complete the configuration, depending of the instance type you want to use (local or cloud)
- Press F5