Open Closed

Different MicroServices pointing to same Database instance #6938


User avatar
0
DominaTang created

With ABP Micro Services, is it fine that two Micro Services actually point to same SQL server or MongoDb instance, but each takes care of a set of tables of its own.

  • ABP Framework version: v7.2.1

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

    Hello,

    Yes you can do that make sure consider decoupling techniques and avoid dependency.

    check out https://docs.abp.io/en/abp/latest/Samples/Microservice-Demo#database-ef-core-configuration

    thanks

  • User Avatar
    0
    DominaTang created

    thanks.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11