Chapter 3
Modernizing Your Application Architecture for the Cloud
Section 3
Decomposing the Service Layer into Microservices
Transform the application and make it adhere to a microservices architecture style. - Extract/separate one microservice from the service layer (example: ShoppingCart): Create the new Shopping Cart data store (shoppingcartdb). Create a new ASP.NET Core project for the Shopping Cart Service. Copy Models structure (less the models not related to the Shopping Cart) into the new Shopping Cart Service. Move ShoppingCartSvcController to the new service. Wire the API call from the Front Web (Presentation) to the microservice. - Extract/separate, one by one, other microservices. Next, the Order service - Extract/separate the Store service into a microservice