.Net Aspire Cosmos Db EF Documentation AddCosmosDbContext example is incorrect #2660
Labels
database
Content related to database.
doc-bug
Problem with the content; needs to be fixed [org][type][category]
in-pr
okr-health
okr-quality
Content-health KR: Concerns article defects/freshness or build warnings.
Pri1
High priority, do before Pri2 and Pri3
🗺️ reQUEST
Triggers an issue to be imported into Quest.
Describe the issue or suggestion
The documentation is incorrect for adding a CosmosDbContext to the client.
here and in Learn calls for adding a CosmosDbContext with the single parameter of connection name. But this is not an option.
This code example is wrong:
This code compiles, but doesn't seem to work, as expected, at-least in conjunction with the Cosmos Emulator:
The text was updated successfully, but these errors were encountered: