๐ A repository to explore and learn Azure Cosmos DB with C# and .NET.
This repository demonstrates the integration of Azure Cosmos DB with a .NET application, showcasing fundamental features like data modeling, querying, and transaction processing using the SDK for C#.
- Azure Cosmos DB SDK: Learn to use the SDK to perform CRUD operations.
- Partitioning and Scaling: Understand Cosmos DB partitioning strategies.
- LINQ Queries: Query Cosmos DB with LINQ for seamless integration.
- Performance Tuning: Insights into optimizing request units (RUs).
- Azure Subscription: Required to create and access Cosmos DB.
- .NET SDK: Available for download here.
- Cosmos DB Emulator (optional): For local development, download it here.
- Clone this repository:
git clone https://github.com/GuilhermeStracini/hello-world-cosmosdb-dotnet.git
- Navigate to the project directory:
cd hello-world-cosmosdb-dotnet
- Restore the project dependencies:
dotnet restore
- Update the
appsettings.json
file with your Cosmos DB connection details. - Run the application:
dotnet run
This project is licensed under the MIT License.
Contributions are welcome! Feel free to open issues or submit pull requests to improve this repository.