C#C
C#4y ago
17 replies
M B V R K

❔ Is Repository Pattern still recommended with Microservices and EF Core ?

Hi friends,
Oh $hit, here we go again, with this funny and forever debate.
When we have Microservices architecture project, where each service has its own database and uses
EF Core
as an
O/RM
in addition they uses
RabbitMQ
as a
Message broker
.

The following are some questions need your experience share:

Is using
Repository Pattern
a recommended part in this case , even if the
EF Core
making the
Abstraction
between database and App ?

If the first one is not recommended, is the
CQRS
pattern recommended for this case ?

Please do not hesitate to share your experiences with me, and massive thanks in advance.
Was this page helpful?