GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OurDotNetOrganization/CosmosDBPartialUpdateTypeConverter: An Azure Cosmos DB Partial Update Helper. https://learn.microsoft.com/en-us/azure/cosmos-db/partial-document-update

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
ConsoleApp
ConsoleApp
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CosmosDBPartialUpdateTypeConverter.csproj
CosmosDBPartialUpdateTypeConverter.csproj
 
 
CosmosDBPartialUpdateTypeConverter.sln
CosmosDBPartialUpdateTypeConverter.sln
 
 
LICENSE.txt
LICENSE.txt
 
 
PatchOperationExtension.cs
PatchOperationExtension.cs
 
 
PatchOperationList.cs
PatchOperationList.cs
 
 
PatchOperationListBuilder.cs
PatchOperationListBuilder.cs
 
 
Program.cs
Program.cs
 
 
README.md
README.md
 
 
ReadOnlyColumnEncryption.cs
ReadOnlyColumnEncryption.cs
 
 
SECURITY.md
SECURITY.md
 
 

Repository files navigation

CosmosDBPartialUpdateTypeConverter

Requires Dotnet 8.0 SDK https://dotnet.microsoft.com/en-us/download/dotnet/8.0

Project Description

The CosmosDBPartialUpdateTypeConverter repository is a .NET project designed to facilitate partial updates in Azure Cosmos DB using JSON Patch operations. This project aims to provide a seamless way to perform partial updates on documents stored in Cosmos DB, reducing the need for full document replacements.

Purpose

The primary purpose of this project is to demonstrate how to implement partial updates in Cosmos DB using JSON Patch operations. By leveraging this project, developers can efficiently update specific fields within a document without the need to replace the entire document.

Features

  • Partial updates using JSON Patch operations
  • Sample console application demonstrating usage
  • Securely manage secrets using Azure Key Vault
  • Comprehensive .gitignore file
  • MIT License
  • GitHub Actions workflows for building and testing the .NET project

Setup and Run

Prerequisites

  • .NET 8.0 SDK: Download .NET 8.0 SDK
  • Azure Cosmos DB account
  • Azure Key Vault for managing secrets

Steps

  1. Clone the repository:

    git clone https://github.com/ewdlop/CosmosDBPartialUpdateTypeConverter.git
    cd CosmosDBPartialUpdateTypeConverter
  2. Build the project:

    dotnet build
  3. Set up Azure Key Vault:

    • Create a Key Vault in Azure.
    • Add secrets for MyCosmosDBConnectionString and MyCosmosDBDatabaseId.
  4. Run the sample console application:

    dotnet run --project ConsoleApp

Contributing

We welcome contributions to the CosmosDBPartialUpdateTypeConverter project. To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Make your changes and commit them with descriptive commit messages.
  4. Push your changes to your forked repository.
  5. Create a pull request to the main repository.

Please ensure that your code adheres to the project's coding standards and includes appropriate tests.

License

This project is licensed under the MIT License. See the LICENSE.txt file for more details.

About

An Azure Cosmos DB Partial Update Helper. https://learn.microsoft.com/en-us/azure/cosmos-db/partial-document-update

Topics

cosmosdbno-sqlpartial-updatespatchrfc-6902

Resources

Readme
MIT license

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.