Wiløvy
EF 9
But for example, I'm going to create a blog,
I have 2 gRPC projects
- UserService
- PostService
I will have one more project to set up the DB
- PrepareDB
This PrepareDB will be referenced in the 2 gRPC projects.
But how do these 2 gRPC projects communicate with each other? Simply with the
Both
so that they are grpc clients and servers?
Although looking at it, I believe that they do not have to communicate between them.
Then I will have my REST api where I will also reference that prepareDB project, and here it will also be a gRPC client.
To be able to query the microservices
And then transform it to REST endopoint65 replies
EF 9
Oh okay, so what I have to do is to remove the models and migrations from each gRPC project and put them in a new one called idk
PrepareDB
that project is going to take care of accommodating all the tables.
Then I can run each microservice without any problem.65 replies