Denomica.Cosmos 1.0.3

dotnet add package Denomica.Cosmos --version 1.0.3
                    
NuGet\Install-Package Denomica.Cosmos -Version 1.0.3
                    
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="Denomica.Cosmos" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Denomica.Cosmos" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Denomica.Cosmos" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Denomica.Cosmos --version 1.0.3
                    
#r "nuget: Denomica.Cosmos, 1.0.3"
                    
#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.
#:package Denomica.Cosmos@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Denomica.Cosmos&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Denomica.Cosmos&version=1.0.3
                    
Install as a Cake Tool

Denomica.Cosmos

A library that facilitates working with data in Azure Cosmos DB.

This library is the successor to the Denomica.Cosmos.Extensions library.

Main Features

This library build on the Azure Cosmos DB SDK (Microsoft.Azure.Cosmos) and provides the following main features.

  1. Introduces the ContainerAdapter class, which provides additional ways for working with data in a Cosmos DB container.
    • Handles the Cosmos DB feed iterator and returns results in batches with support for retrieving the following batch.
    • Provides methods that return IAsyncEnumerable<T> that allows iterating over all result items without having to deal with continuation tokens or feed iterators.
    • Improves on subtype handling when inserting or updating items.
  2. Provides the QueryDefinitionBuilder class that simplifies building QueryDefinition instances that you use to query data in Cosmos DB with.
  3. Supports Dependency Injection with the CosmosServicesBuilder class that faciliates adding options and services related to working with data in Cosmos DB.

The following packages can be used together with this library to provide additional capabilities.

Version Highlights

Major improvements in various versions of this library.

v1.0.3

Fixed a bug that caused an exception to be thrown when accessing items and using the VectorDistance function in the order by clause. Such queries dot not support accessing the ContinuationToken property of the FeedResponse<T> object.

With this update, queries with VectorDistance can be successfully executed.

v1.0.2

Added support for token credential authentication for Azure Cosmos DB.

The authentication mode is determined by whether the connection string contains the AccountKey property:

  • If AccountKey is present, the library uses the connection string directly to create the CosmosClient (account key authentication).
  • If AccountKey is not present, the library treats the value as either:
    • a Cosmos DB endpoint URI, or
    • a connection string that contains AccountEndpoint.

In both cases where AccountKey is not present, a token credential must be registered through CosmosServicesBuilder.

v1.0.1

Fixed a bug that caused issues in the ContainerAdapter.FirstOrDefaultAsync method when a stored object has child objects. The child objects were not being deserialized correctly as dictionary objects.

v1.0.0

The first stable release. This version now provides the same core functionality as the Denomica.Cosmos.Extensions Nuget package.

v1.0.0-beta.x

Preliminary releases inteded for shaping the first stable version of the Denomica.Cosmos library.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Denomica.Cosmos:

Package Downloads
Denomica.Cosmos.Odata

A library that exposes functionality for converting OData parameters into a QueryDefinition object for Cosmos DB.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 152 5/8/2026
1.0.2 330 3/17/2026
1.0.1 494 10/31/2025
1.0.0 236 10/17/2025