Introduction to .NET SDK in C#
Learn how to use the official Cosmos DB SDK for .NET in C#.
Cosmos DB SDK
To interact with Cosmos DB, Microsoft provides multiple SDKs. Currently, SDKs are available for the following platforms:
.NET
Java
Node.js
Python
Go
Others (HTTP, REST)
During this course, we will use the .NET SDK with C#.
Installing the SDK
To install the SDK, we first need a C# project. For practical reasons, we are going to use the Web API template that comes preconfigured with appsettings.json
.
We can mention that we could use an integrated development environment (IDE), but Educative has the functionality built into the platform, so we mention that we could run this in the code widget at the end of the lesson.
Get hands-on with 1400+ tech skills courses.