Building Microservices with .NET Core
by Soumya Mukherjee, Gaurav Aroraa, Lalit Kale, Manish Kanwar
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access