Blog Logo
TAGS

Using Azure Cosmos Persistence with NServiceBus

NServiceBus is a reliable messaging and workflow solution for the .NET platform that supports various queuing technology and datastore such as Cosmos DB. Cosmos DB is a fully managed NoSQL database service on Azure that is robust and growing rapidly. This post discusses how you can use these two world-class products to build your distributed system, specifically creating a new social platform called Twitbook. The post offers an architecture of Twitbook and shows how the solution consists of three projects: API, Messages and Worker. The post also provides steps for building the sample with code snippets for setting up NServiceBus and Swagger for API discovery.