Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Microservices with .NET Core

You're reading from  Building Microservices with .NET Core

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781785887833
Pages 274 pages
Edition 1st Edition
Languages
Authors (3):
Gaurav Aroraa Gaurav Aroraa
Profile icon Gaurav Aroraa
Lalit Kale Lalit Kale
Profile icon Lalit Kale
Manish Kanwar Manish Kanwar
Profile icon Manish Kanwar
View More author details

Table of Contents (10) Chapters

1. What Are Microservices? 2. Building Microservices 3. Integration Techniques 4. Testing Strategies 5. Deployment 6. Security 7. Monitoring 8. Scaling 9. Reactive Microservices 10. Creating a Complete Microservice Solution

Making it reactive


Let's examine our application and see how it would look with the reactive style of programming. The following image depicts the flow of the application that is reactive in nature and is completely event-driven. In this image, services are depicted by hexagons, and events are represented by square boxes. Here's the entire flow in detail:

The flow depicted in the image describes the scenario of a customer placing an order after having searched for the items he/she is looking for. The Place order event is raised to Order service. In response to this event, our service analyzes arguments, such as order item and quantity, and raises the Item availability event to Product service. From here on, there are two possible outcomes: either the requested product is available and has the required quantity or it is not available or doesn't have the required quantity. If the items are available, Product service raises an event called Generate invoice to Invoice service. Since raising the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}