C# 7 and .NET: Designing Modern Cross-platform Applications
by Mark J. Price, Ovais Mehboob Ahmed Khan
What is API composition?
API composition is a technique in which multiple microservices are composed to expose one endpoint to the user and provides an aggregated view. In a single database, this is easily possible by making a SQL query join and getting the data from different tables.
Let's consider the vendor management system, where we have two services. One is used to register a new vendor and has a corresponding database to persist vendor demographics, address, and other information. The other service is the order service, which is used to store the transactional data of the vendor and contains order information such as order number, quantity, and so on. Suppose we have a requirement to display the list of vendors with all the orders ...
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