Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddDatabase(...) method no longer exists in the Aspire API for Cosmos DB resource #154

Closed
mitchdenny opened this issue Dec 11, 2023 · 0 comments · Fixed by #155
Closed

Comments

@mitchdenny
Copy link
Member

Type of issue

Code doesn't work

Description

We made a change to the Cosmos DB API for Preview 1 where we removed the AddDatabase(...) extension method from the Cosmos DB resource builder. This is because Cosmos DB connection strings don't support specifying collections/databases in the connection strings.

Page URL

https://learn.microsoft.com/en-us/dotnet/aspire/database/azure-cosmos-db-component?tabs=dotnet-cli

Content source URL

https://github.com/dotnet/docs-aspire/blob/main/docs/database/azure-cosmos-db-component.md

Document Version Independent Id

2c87446c-4a5e-1ff9-3737-45c0d7e63d2d

Article author

@IEvangelist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants