Base solution for your next web application
Open Closed

How to put chat and notification features into a separate module with its own database? #6863


User avatar
0
dzungle created

Hello support team, I want to put chat and notification features into a separate module with its own database. Could you please show me the steps to do this task? Thank you very much. Le Dzung

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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

    Hi @dzungle

    You can create a second DbContext and move those entities to that DbContext. You can check https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/MultipleDbContextEfCoreDemo to see how to use multiple DbContexes in ABP (and AspNet Zero).

    But, AspNet Zero is not designed that way. So, probably you will have some other problems which we can't foresee now.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    dzungle created

    Hi @ismcagdas Thank you for your support.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)