Skip to content

๐Ÿ“š A repository to learn CosmosDB with .NET

License

Notifications You must be signed in to change notification settings

GuilhermeStracini/hello-world-cosmosdb-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Hello World CosmosDB with .NET

๐Ÿ“š A repository to explore and learn Azure Cosmos DB with C# and .NET.

wakatime Maintainability Test Coverage CodeFactor GitHub license GitHub last commit Codacy Badge


About

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#.


Features

  • 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).

Prerequisites

  1. Azure Subscription: Required to create and access Cosmos DB.
  2. .NET SDK: Available for download here.
  3. Cosmos DB Emulator (optional): For local development, download it here.

Setup Instructions

  1. Clone this repository:
    git clone https://github.com/GuilhermeStracini/hello-world-cosmosdb-dotnet.git
  2. Navigate to the project directory:
    cd hello-world-cosmosdb-dotnet
  3. Restore the project dependencies:
    dotnet restore
  4. Update the appsettings.json file with your Cosmos DB connection details.
  5. Run the application:
    dotnet run

Resources


License

This project is licensed under the MIT License.


Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve this repository.

About

๐Ÿ“š A repository to learn CosmosDB with .NET

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •