The order microservice

The business functionality of placing an order is next in line. When a user decides that his shopping cart has just the right books as required, he/she decides to place an order. At that moment in time, some information related to the order has to be confirmed/conveyed to various other microservices. For example, before the order is confirmed, we need to confirm from the book catalog that there is enough quantity available in stock to fulfil the order. Post this confirmation, the right number of items are supposed to be reduced from the book catalog. The shopping cart would also have to be emptied post the successful confirmation of the order.

Although our order microservice sounds more pervasive and in contradiction ...

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.