Cohesive.Adapters.Aspire.Cosmos 0.1.0-alpha.158

This is a prerelease version of Cohesive.Adapters.Aspire.Cosmos.
dotnet add package Cohesive.Adapters.Aspire.Cosmos --version 0.1.0-alpha.158
                    
NuGet\Install-Package Cohesive.Adapters.Aspire.Cosmos -Version 0.1.0-alpha.158
                    
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="Cohesive.Adapters.Aspire.Cosmos" Version="0.1.0-alpha.158" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cohesive.Adapters.Aspire.Cosmos" Version="0.1.0-alpha.158" />
                    
Directory.Packages.props
<PackageReference Include="Cohesive.Adapters.Aspire.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 Cohesive.Adapters.Aspire.Cosmos --version 0.1.0-alpha.158
                    
#r "nuget: Cohesive.Adapters.Aspire.Cosmos, 0.1.0-alpha.158"
                    
#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 Cohesive.Adapters.Aspire.Cosmos@0.1.0-alpha.158
                    
#: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=Cohesive.Adapters.Aspire.Cosmos&version=0.1.0-alpha.158&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Cohesive.Adapters.Aspire.Cosmos&version=0.1.0-alpha.158&prerelease
                    
Install as a Cake Tool

Cohesive.Adapters.Aspire.Cosmos

Optional association between native Aspire Cosmos containers and Cohesive storage evidence. It depends on Aspire Azure Cosmos hosting; the general Cosmos adapter does not.

Use associations.Resource(node, container, storageBinding) inside builder.AttachCohesive. The canonical infrastructure node must contain ComposedQueryResourceEvidence from storage preparation. The association checks the account resource name, physical database/container names, single partition path and exact prepared source identity before attaching evidence. Native provider options and resource construction remain ordinary Aspire calls.

The account name here is the logical Aspire resource identity used by the storage binding, not a live Azure account lookup. Validation is offline: it starts no emulator, reads no cloud metadata, and does not establish deployed readiness or a cross-store snapshot. Runtime source acquisition retains its independent admission checks. Tests in the Aspire suite cover valid mixed placement plus mismatched account, database, container, partition and prepared source.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
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
0.1.0-alpha.158 58 10/24/2026