Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Planetsino

A sample app using Azure Cosmos DB.

This app demonstrates how to build a web app that uses a globally distributed Azure Cosmos DB setup. Combined with the Azure Traffic Manager, this can give very low latency for users all over the world.

The app demonstrates a local read/local write scenario. The DbHelper class helps to manage the multi-master setup where there is one account per region.

To test the app, do the following:

  • Create the necessary services in Azure: at least one Azure Cosmos DB account and at least one Azure Web App. Use another name than Planetsino, since it has to be unique in Azure.
  • Edit Web.config with your own EndpointURLs and AuthKeys. Also edit the preferred locations.
  • Test run the web app locally in Visual Studio. That will help you resolve any configuration errors.
  • Publish the web app to Azure. If you have co-located your Azure Cosmos DB accounts with the Web Apps, you should get very low latency.
  • Finally, you can add an Azure Traffic Manager to automatically direct users to the nearest Web App.

Planetsino also contains functionality to do performance testing on your Azure Cosmos DB accounts.

More reading

Visit my blog for more reading about Azure Cosmos DB

Screenshots

Planetsino screenshot 1 Planetsino screenshot 2

About

A sample app using Azure Cosmos DB.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages