11

Combining Data Sources Using GraphQL

In this chapter, you will be introduced to GraphQL, a service technology that provides a more modern approach to combining data from various sources and then providing a standard way to query that data.

This chapter will cover the following topics:

  • Understanding GraphQL
  • Building a service that supports GraphQL
  • Defining GraphQL queries for EF Core models
  • Building a .NET client for a GraphQL service
  • Implementing GraphQL mutations

Understanding GraphQL

As you saw in Chapter 10, Exposing Data via the Web Using OData, OData is a possible choice for combining data from different stores and exposing it via a common protocol like HTTP. OData also has a built-in query language for the client to control what data ...

Get Apps and Services with .NET 7 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.