Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Microservices with .NET Core 2.0

You're reading from   Building Microservices with .NET Core 2.0 Transitioning monolithic architectures using microservices with .NET Core 2.0 using C# 7.0

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher
ISBN-13 9781788393331
Length 300 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Gaurav Aroraa Gaurav Aroraa
Author Profile Icon Gaurav Aroraa
Gaurav Aroraa
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. An Introduction to Microservices 2. Implementing Microservices FREE CHAPTER 3. Integration Techniques and Microservices 4. Testing Microservices 5. Deploying Microservices 6. Securing Microservices 7. Monitoring Microservices 8. Scaling Microservices 9. Introduction to Reactive Microservices 10. Creating a Complete Microservice Solution

Let's make code reactive

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

The flow depicted in the diagram 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 available 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...

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 $19.99/month. Cancel anytime