All Projects → AzureCosmosDB → CosmicWorks

AzureCosmosDB / CosmicWorks

Licence: MIT license
How to model and partition data for Cosmos DB starting with the Adventure Works database.

Programming Languages

C#
18002 projects
shell
77523 projects

Projects that are alternatives of or similar to CosmicWorks

Getting-Started-with-Cosmos-DB
A tutorial about how to start with Cosmos DB - The information I would have loved to have before setting out with Cosmos DB.
Stars: ✭ 16 (-69.81%)
Mutual labels:  azure-cosmos-db, cosmos-db
play-scala-fileupload-example
An example Play application showing custom multiform fileupload in Scala
Stars: ✭ 29 (-45.28%)
Mutual labels:  sample
Jethub
Sample App with Jetpack components(LiveData, Navigation, ViewModel) + MVVM + coroutine + single activity
Stars: ✭ 224 (+322.64%)
Mutual labels:  sample
memealyzer
Memealyzer is an app built to demonstrate some the latest and greatest Azure tech to dev, debug, and deploy microservice applications.
Stars: ✭ 97 (+83.02%)
Mutual labels:  cosmos-db
Arkit2.0 Prototype
After Apple’s introduction of ARKit 2, we have been consistently working behind to create shared-AR experiences. Our goal is to improve the utility of mobile using AR experiences.
Stars: ✭ 236 (+345.28%)
Mutual labels:  sample
sketch-data
Various lists to use as data source in Sketch app and other design applications
Stars: ✭ 151 (+184.91%)
Mutual labels:  sample
Cloud Cap Samples
This project contains sample applications for SAP Cloud Application Programming Model.
Stars: ✭ 202 (+281.13%)
Mutual labels:  sample
electron-webpack-sample
Sample of Electron & Webpack working together 💜
Stars: ✭ 31 (-41.51%)
Mutual labels:  sample
walletconnect-test-wallet
Test Wallet (Web)
Stars: ✭ 163 (+207.55%)
Mutual labels:  sample
CosmicClone
Cosmic Clone is a utility that can backup\clone\restore a azure Cosmos database Collection. It can also anonymize cosmos documents and helps hide personally identifiable data.
Stars: ✭ 113 (+113.21%)
Mutual labels:  cosmos-db
Spring Framework Petclinic
A Spring Framework application based on JSP, Spring MVC, Spring Data JPA, Hibernate and JDBC
Stars: ✭ 251 (+373.58%)
Mutual labels:  sample
Peachpie Wordpress
WordPress running on .NET Core.
Stars: ✭ 237 (+347.17%)
Mutual labels:  sample
Examples wxWidgets
Shows how to use wxWidgets controls only by programming code (c++17).
Stars: ✭ 116 (+118.87%)
Mutual labels:  sample
Cognitive Face Python
Python SDK for the Microsoft Face API, part of Cognitive Services
Stars: ✭ 226 (+326.42%)
Mutual labels:  sample
IntelligentExperiences.OnContainers
See how Crowd Analytics platform built on Azure can provides occupancy insights in workspace and other location for safety while having technical fun with AI-driven platform on Kubernetes, with detailed walk through guide.
Stars: ✭ 41 (-22.64%)
Mutual labels:  azure-cosmos-db
Machine Learning Diff Private Federated Learning
Simulate a federated setting and run differentially private federated learning.
Stars: ✭ 207 (+290.57%)
Mutual labels:  sample
Golang Samples
Sample apps and code written for Google Cloud in the Go programming language.
Stars: ✭ 3,088 (+5726.42%)
Mutual labels:  sample
laravel-hmvc-sample
Sample project, building a HMVC structure for Laravel 5,6,7,8
Stars: ✭ 28 (-47.17%)
Mutual labels:  sample
ui5-webcomponents-sample-vue
UI5 Web Components Sample TODO application built with Vue.
Stars: ✭ 52 (-1.89%)
Mutual labels:  sample
ui5-webcomponents-sample-angular
UI5 Web Components Sample TODO application built with Angular.
Stars: ✭ 34 (-35.85%)
Mutual labels:  sample

CosmicWorks

How to migrate a relational data model to Azure Cosmos DB, a distributed, horizontally scalable, NoSQL database.

This repo is used to support a presentation on how to migrate a relational database schema to a NoSQL database like Azure Cosmos DB. This repo contains a Powerpoint presentation and a Visual Studio solution that represents the demos for this presentation with three projects in it:

  • modeling-demos: This contains the main app that shows the evolution of the data models from v1 to v4

  • change-feed-categories: This project uses change feed processor to monitor the product categories container for changes and then propagates those to the products container.

  • models: This project contains all of the POCO classes used in both projects.

Steps to setup

Deploy To Azure

  1. Clone this repository to your local machine.
  2. Click the Deploy to Azure button above. This will provision a new Cosmos DB account in a single region.
  3. When the deployment is complete, click on the Outputs tab in the custom deployment blade. Copy the uri and key values and save locally.
  4. Open the Cosmic Works solution file.
  5. Add the uri and key information to the appSettings.json file for both the 'change-feed-categories' and 'modeling-demos' VS Project files or right click each project, select 'Manage User Secrets' and enter the same key and values as key-value pairs there.
  6. Right click the 'modeling-demos' project and set as start up. Then press F5 to start it.
  7. On the main menu, press 'k' to create the database and container resources (Note, these are billable resources).
  8. On the main menu, press 'l' to load data. (Note, this can take quite some time and may time out when run locally over low bandwidth connections. Best performance is running on a VM in the same region the Cosmos account was provisioned in.)
  9. Right click the 'change-feed-categories' project and select, Debug, Start new instance.
  10. Finally, put breakpoints for any of the functions you want to run then press the corresponding menu item key to execute.

[!IMPORTANT] To minimize cost related to this sample it is recommended to run the 'Delete databases and containers' item from the main menu. This will delete the databases and containers and just leave an empty Cosmos account which has no cost. You can then start the sample again and run 'k' and 'l' menu items to rehydrate the account.

Source data

You can download all of the data for each of the 4 versions of the Cosmos DB databases as it progresses through its evolution from the data folder in this repository. You can see the contents of these storage containers below.

You can also download a bak file for the original Adventure Works 2017 database this session and app is built upon.

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].