Open Closed

Shared Catalogue DB in microservices #6551


User avatar
0
dev_marcelo created
  • ABP Framework version: 6.0.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I want to create a shared db, for catalogues,

I have 2 microservices, they share the catalogue DB, I need to find a way to create a 3rd micro service and make its DB shared, is is possible?

could you help me to find solutions to this problem?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    1
    Anjali_Musmade created
    Support Team Member

    Hi,

    Yes you can create multiple microservices sharing same DB.

    Please check this similar ticket if find helpful https://support.abp.io/QA/Questions/1636/How-i-can-implement-shared-database-using-Microservices-in-other-words---How-more-than-one-microservice-can-use-the-same-database

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    dev_marcelo created

    could you provide an example of it?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello,

    There is no such example , but inside the shared project you need to create a EntityFrameworkProject just like in Microservices. and also need to create a DBContext.

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.