Benday.CosmosDb 2.1.0

dotnet add package Benday.CosmosDb --version 2.1.0                
NuGet\Install-Package Benday.CosmosDb -Version 2.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Benday.CosmosDb" Version="2.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Benday.CosmosDb --version 2.1.0                
#r "nuget: Benday.CosmosDb, 2.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Benday.CosmosDb as a Cake Addin
#addin nuget:?package=Benday.CosmosDb&version=2.1.0

// Install Benday.CosmosDb as a Cake Tool
#tool nuget:?package=Benday.CosmosDb&version=2.1.0                

Benday.CosmosDb

A collection of classes for implementing the domain model and repository patterns with Azure Cosmos Db. These classes are built using the Azure Cosmos DB libraries for .NET and aim to simplify using hierarchical partition keys and to make sure that query operations are created to use those partition keys correctly.

Written by Benjamin Day
Pluralsight Author | Microsoft MVP | Scrum.org Professional Scrum Trainer
https://www.benday.com
https://www.slidespeaker.ai
info@benday.com
YouTube: https://www.youtube.com/@_benday

Key features

Key features:

  • Interfaces and base classes for implementing the repository pattern with CosmosDb
  • Interfaces and base classes for implementing the domain model pattern with CosmosDb
  • Help you to write LINQ queries against CosmosDb without having to worry whether you're using the right partition keys
  • Support for configuring repositories for use in ASP.NET Core projects
  • Support for hierarchical partition keys
  • Logging of query performance and request units
  • Detect and warn when you have cross-partition queries*

Got ideas for Azure DevOps utilities you'd like to see? Found a bug? Let us know by submitting an issue https://github.com/benday-inc/Benday.CosmosDb/issues. Want to contribute? Submit a pull request.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 205 11/20/2024
2.0.0 97 11/14/2024
1.0.0 99 10/30/2024

v2.1 - Added optimistic concurrency checks using _etag to the repository SaveAsync method.
     v2.0 - Changed implementation to use System.Text.Json for serialization instead of Newtonsoft.Json. Added configuration utilities to make it easier to configure CosmosDb in web projects. Added service layer base classes.
     v1.0 - Adding initial version of the CosmosDb Domain Model & Repository utilities