Replies: 1 comment 6 replies
-
This is really needed, otherwise you can't setup a container properly in the AppHost (unless I'm missing something). For most real-world/production scenarios you will need to define unique keys (which has to be done at creation time) as well as other configuration for the container. It's odd that this isn't possible from the get go as it's pretty fundamental to setting up a container?! I keep running into constraints like this when trying to build my solution using .NET Aspire... @davidfowl you mentioned on another comment I made on a similarly issue #667 that you are not prioritising integration... does that mean the .NET Aspire Cosmos DB integration will not get any attention?... in which case how viable is .NET Aspire going to be going forward if we keep hitting dead ends? .NET Aspire is promoted as being for production-ready apps but in this case not if you want to use Cosmos? Hopefully you can correct me if I am missing something @davidfowl / @maddymontaquila / @eerhardt ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to configure a unique key policy for my Cosmos DB container in AppHost but can't figure out how to do it. I tried configuring the provisioned infrastructure of the Cosmos DB resource, but I didn't find an option to configure containers. Additionally, the
AddContainer
API does not seem to allow passing custom configurations when defining a container.Am I missing something, or is this not supported at the moment?
It would be great if the API allowed something like this:
Beta Was this translation helpful? Give feedback.
All reactions