ReleaseMicrosoftMicrosoftpublished Apr 7, 2026seen Jun 26

microsoft/azure-databases-aspire v0.109.0

microsoft/azure-databases-aspire

Open original ↗

Captured source

source ↗
published Apr 7, 2026seen Jun 26captured 2whttp 200method plain

v0.109.0

Repository: microsoft/azure-databases-aspire

Tag: v0.109.0

Published: 2026-04-07T21:00:45Z

Prerelease: no

Release notes: Aspire.Hosting.DocumentDB v0.109.0

Initial release of the .NET Aspire hosting integration for [DocumentDB](https://github.com/documentdb/documentdb), a MongoDB-compatible open-source document database built on PostgreSQL.

Highlights

  • Targets DocumentDB 0.109.0 (container image pg17-0.109.0)
  • Built on .NET Aspire 13.1.x

Features

  • AddDocumentDB() / AddDatabase() -- server + database resource model for Aspire AppHost
  • TLS enabled by default with tlsInsecure=true for seamless local development with DocumentDB Local's self-signed certificate
  • UseTls() / AllowInsecureTls() -- fine-grained TLS control
  • WithDataVolume() / WithDataBindMount() -- persistent storage support
  • WithHostPort() -- explicit port binding
  • Custom username/password via Aspire ParameterResource
  • Compatible with Aspire.MongoDB.Driver client integration

Usage

var db = builder.AddDocumentDB("DocumentDB").AddDatabase("mydb");

var myService = builder.AddProject()
.WithReference(db);