Project Description
The Cloud Ninja Polyglot Persistence project is a sample that demonstrates the use of multiple and different types of repositories to persist application data.


This is a sample that utilizes multiple databases to persist application data. The solution is not a complete working ecommerce solution, and ecommerce is used as the basis for the sample to demonstrate key concepts to building solutions utilizing a polyglot persistence approach. This sample solution contains a web commerce site implemented as an ASP.NET 4.5 MVC4 ecommerce shopping site. The repositories are implemented in various languages using different database technologies, and by entirely different groups of developers.

Cannot resolve image macro, invalid image name or id.

Repository Services
  • Shopping Cart
  • Catalog
  • Recommendation
  • Orders
  • User Session

Solution Projects
  • CN2P.Web - ASP.NET web site front end
  • CN2P.ServiceModel - Model

Web Site

A web site that consumes the service


A test project is used to ensure the REST interface for a service implementation conform to the REST interface specification.

Data Import Utility

This is a simple command line application that is used to import sample data in to the repositories.

Repository Services

This is the interesting part. Various
  • Windows Azure Table Storage
  • Windows Azure SQL Database
  • MongoDB
  • Redis
  • CouchDB
  • Neo4J


Last edited Jul 16, 2013 at 10:24 PM by trentmswanson, version 10