Integrate Cosmos DB Server Objects with Asp.Net Core MVC Application

English Intermediate Other

Azure Cosmos DB is one of the fastest-growing Azure services on the market and one of the popular NoSQL database services in the Cloud-based Environment. Cosmos DB is not only a NoSQL type database service that stored only schema-less data. Cosmos DB also provides several Server Side objects like Stored Procedures, Triggers, etc to implement the custom business requirement. In this talk, we'll start with an introduction to the basic principals of Server-Side Objects in Cosmos DB and some of its unique features. We'll then walk through building a web application in .NET Core and C# demonstrating how to communicate with Cosmos DB. We'll then discuss code on how to execute any server-side objects like Stored Procedure, Triggers, etc using Asp.Net Core Applications. Learning objectives • Basic Concept of Azure Cosmos DB • Basic Principles of Server-Side Objects in Azure Cosmos DB • Integrate Cosmos DB operation from Asp.Net MVC Applications • Executing a Stored Procedure in Cosmos DB from Asp.Net Core Application • Demonstrate how to execute a Trigger in Cosmos DB from .Net Core Application


Debasis Saha

Microsoft Certified Trainer, C# Corner MVP, Lead Engineer @ WeFiveSoft Pvt. Ltd., Author, Blogger, Speaker

Debasis Saha is a Microsoft Certified Trainer & C# Corner MVP (6 times). Debasis is working as a Lead Engineer at WeFiveSoft Pvt Ltd, Pune. Having 11+ years of experiance in the IT Industry. He always been a great fan of Microsoft Technologies and loves working on them. He has expertise in Asp.Net, MVC, C#, Azure, Asp.Net Core, SQL Server, ReactJs, Angular, and NoSQL Databases like MongoDB, CosmosDB, etc. He loves to write articles about these technologies.

Code of Conduct

We seek to provide a respectful, friendly, professional experience for everyone, regardless of gender, sexual orientation, physical appearance, disability, age, race or religion. We do not tolerate any behavior that is harassing or degrading to any individual, in any form. The Code of Conduct will be enforced.

Who does this Code of Conduct apply to?

All live stream organizers using the Global Azure brand and Global Azure speakers are responsible for knowing and abiding by these standards. Each speaker who wishes to submit through our Call for Presentations needs to read and accept the Code of Conduct. We encourage every organizer and attendee to assist in creating a welcoming and safe environment. Live stream organizers are required to inform and enforce the Code of Conduct if they accept community content to their stream.

Where can I get help?

If you are being harassed, notice that someone else is being harassed, or have any other concerns, report it. Please report any concerns, suspicious or disruptive activity or behavior directly to any of the live stream organizers, or directly to the Global Azure admins at All reports to the Global admin team will remain confidential.

Code of Conduct for local live streams

We expect local organizers to set up and enforce a Code of Conduct for all Global Azure live stream.

A good template can be found at, including internationalized versions at An excellent version of a Code of Conduct, not a template, is built by the DDD Europe conference at