Base solution for your next web application
Open Closed

Multiple Questions - Identity, DB #6838


User avatar
0
VivekKumarSingh created

Q1. I want to use identity server 4 . I can see that it is now added in the latest code but using in memory stores for the configuration and operational data. How to change it to DB stores available with Identity server EF. Do I need to create the schema using script available and change the classes to use IDSrv4.EF?

Q2. In your current DB , we have mix of configuration data and user identity data. What is the best solution to split this in 2 separate DB . I want to keep user identity, roles and permissions in a separate DB.

Q3. Are you internally using ASP.Net Core Identity ?

Q4. Do you have any data dictionary or ER diagram. It is not easy to understand the solution with available documentation so please help me.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @vivekkumarsingh

    Q1: Actually we don't have any experience about it.

    Do I need to create the schema using script available and change the classes to use IDSrv4.EF?

    Probably yes.

    Q2:

    If I understand correctly, it is hard to split (maybe impossible) because almost all tables come from AbpDbContext which is in ABP Framework. You can try to split your DbContext by following our sample project https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/MultipleDbContextEfCoreDemo

    Q3: Yes.

    Q4: Sorry, we don't have such a diagram. If you have any specific questions about it, we can try to help.