Open
Description
Purpose of the feature.
I'd like to be able to integrate DocumentDB (PostgreSQL extension) into ASP.NET projects more easily using .NET Aspire. The goal is to enable .NET developers to easily try DocumentDB or replace/augment their existing MongoDB/PostgreSQL usage with DocumentDB in a smooth, "drop-in" manner.
Describe the solution you'd like
An official or documented approach that shows how to configure and use DocumentDB alongside PostgreSQL in .NET Aspire. Ideally, this would look similar to existing Aspire integrations for PostgreSQL and MongoDB, including any recommended connection string formats, sample configuration files, or code examples.
Describe alternatives you've considered
- Manually configuring Docker containers and connection strings without official guidance.
- Continuing to run separate MongoDB instances instead of consolidating data storage under PostgreSQL + DocumentDB.
- Using a FerretDB configuration outside the context of .NET Aspire.
Additional context
- Having explicit Aspire documentation or integration support would make it easier for .NET developers to adopt this new extension.
- My current ASP.NET solution uses both PostgreSQL and MongoDB (previously migrated from CosmosDB).
- DocumentDB promises a PostgreSQL extension approach that could simplify my infrastructure and allow me to drop MongoDB.
- A typical scenario might involve spinning up a Docker container for PostgreSQL + DocumentDB, then referencing it in the .NET Aspire configuration, much as we do with existing providers.
- Aspire GitHub repo: https://github.com/dotnet/aspire
- Feature request opened for DocumentDB integration on the Aspire repo: Add DocumentDB support in .NET Aspire dotnet/aspire#7320
- Feature request opened for FerretDB integration on the Aspire repo: Add FerretDB support in .NET Aspire dotnet/aspire#7322