Hi,
I'm trying to develop a multi-repo microservice solution with ABP, all samples and guides are about the mono-repo example.
My problem is how can I split the mono-repo solution into multi-repo, how to solve dependencies by duplicate some code?
Thanks.
2 Answer(s)
-
1
Hello,
Only way to split the microservice solution to multiple repositories is to update the project references to package reference. It means publishing each package reference to a nuget server.
However, you can develop and store your microservices in individual repositories by duplicating shared microservice project functionalities. If you don't use tightly coupled communication between microservices (by referencing the Application.Contracts of an other microservice), it is possible to use different repositories for each microservice since microservices are independent from each other.
But the microservice solution is the big picture manually referencing the apps, gateways and microservice host projects to make it easier to control and manage over. You don't need to use microservice solution at all if you are already experienced in development of microservice systems.
-
0
This question has been automatically marked as stale because it has not had recent activity.