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

Cosmos: Create a compelling sample #2660

Closed
divega opened this issue Aug 3, 2018 · 4 comments · Fixed by #3647
Closed

Cosmos: Create a compelling sample #2660

divega opened this issue Aug 3, 2018 · 4 comments · Fixed by #3647
Assignees
Milestone

Comments

@divega
Copy link
Contributor

divega commented Aug 3, 2018

As we make progress with our provider, we want to build a sample that does a good job of showcasing the benefits of Cosmos DB's SQL API at the same time that it takes advantage of the EF Core programing model.

One idea that came up was to find a good existing Cosmos DB sample and adapt it to use our provider.

@divega
Copy link
Contributor Author

divega commented Sep 27, 2018

For now the closest thing we have to a sample is a demo at https://github.com/divega/EFDemos/tree/master/cosmos-db.

@AndriySvyryd
Copy link
Member

Tips:

  • Partition key should be part of the PK

@AndriySvyryd AndriySvyryd changed the title Cosmos DB sample Cosmos: Create a compelling sample Aug 21, 2019
@divega divega assigned AndriySvyryd and unassigned divega Sep 18, 2019
@ajcvickers ajcvickers transferred this issue from dotnet/efcore Sep 17, 2020
@ajcvickers ajcvickers added this to the 5.0.0 milestone Sep 18, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.0, 6.0.0 Dec 16, 2020
@ajcvickers ajcvickers modified the milestones: 6.0.0, 7.0.0 Nov 3, 2021
@JeremyLikness
Copy link
Member

@ajcvickers @AndriySvyryd is this something we can pull in an existing demo like https://github.com/jeremylikness/planetarydocs for, or just reference to it? Or do we want something custom "ground up" for docs? The planetary demo shows fromsql, multiple containers, primitives, implicit ownership, etc.

@ajcvickers
Copy link
Member

@JeremyLikness I think an existing demo is fine, but maybe we should consider moving a copy into our samples so that we can reference code from it in the normal way.

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.

4 participants