0
mmaldonado@emscltd.com 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?
3 Answer(s)
-
1
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
-
0
could you provide an example of it?
-
0
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