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 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.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10