Code migration

Code migration does not involve just pulling out a few layers of code from the existing monolithic application and then bundling it with our newly created Product service. In order to achieve this, you'll need to implement all that you have learned until now. In the existing monolithic application, we have a single repository, which is common across all modules. Whereas, for microservices, we will create repositories for each module separately and keep them isolated from each other as well.

In the preceding image, Product Service has a Product repository, which further interacts with its designated data store, named Product ...

Get Building Microservices with .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.