Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Samples of CosmosDb usage #13200
I'm using Microsoft.EntityFrameworkCore.Cosmos.Sql Version 2.2.0-preview1-35029 for EF driven identity in asp.net core 2.1.
I've added identity to some projects in the past but this is the first attempt using CosmosDb. Pretty much, I've done what is described here: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-2.1.
The error is the same even if I add a design time factory. My DB context class like this:
What is wrong with this class? Is there an article I can follow as an example to get this working?
@jcagme Migrations are designed around relational databases and hence
We will be blogging about Cosmos DB very soon. This should help showing how to use it and what currently works. Please keep in mind that this is still very much a preview and many things are not yet supported.
@umar-qureshi2 Migrations are a relational concept. There is no support for them when using the Cosmos provider. We have some ideas for things we might be able to do in the future around similar scenarios, but that is beyond the current goals for the Cosmos provider.