Add DocumentDB support in .NET Aspire
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
I am trying to reduce the complexity of my ASP.NET application by consolidating PostgreSQL and MongoDB into a single database technology. DocumentDB (from Microsoft) extends PostgreSQL with document capabilities. I would like to configure it through .NET Aspire in the same way I configure other data providers (like standard PostgreSQL or MongoDB). Currently, there's no built-in Aspire integration or guidance for DocumentDB.
### Describe the solution you'd like
I'd love to see official support or documentation for configuring DocumentDB in .NET Aspire, ideally in a way that:
- Mirrors the or extends the existing PostgreSQL integration, since DocumentDB is effectively an extension of PostgreSQL.
- Helps .NET developers use DocumentDB's document capabilities quickly.
- Includes instructions or samples in the .NET Aspire docs for easy setup.
### Additional context
- Many developers already use .NET Aspire for straightforward PostgreSQL and MongoDB setups.
- DocumentDB is open-sourced by Microsoft and could provide a “one database” approach that still supports document-based features.
- I am currently using both PostgreSQL and MongoDB in production, and I'd like to experiment with dropping MongoDB in favor of DocumentDB + PostgreSQL, all managed via Aspire if possible.
- DocumentDB Open-Source announcement: https://opensource.microsoft.com/blog/2025/01/23/documentdb-open-source-announcement/
- DocumentDB github repo: https://github.com/microsoft/documentdb
Contributor guide
Assessment
This issue has not been assessed yet.