Building GraphQL API Services with ASP.NET Core

· Native Enterprise
1 review

About this ebook

This book discusses the development of API Services using GraphQL on top of the ASP.NET Core framework. GraphQL is a language for querying or manipulating resources or data against data sources such as databases. In addition, graphql also provides a runtime for processing queries and other graphql objects. The language and runtime were originally built by Facebook in 2012 to be used internally. In 2015 graphql began to be published in open source to the public. GraphQL provides another alternative for developing api services besides those based on REST. Several leading companies including Facebook itself already use graphql such as github, pinterest, airbnb, paypal, twitter, and others.

There are several things that distinguish graphql from rest services, including:

- GraphQL provides data according to your needs, nothing less and nothing more. Output data properties or columns can be determined dynamically, in contrast to rest services that have determined data from any column to be displayed.

- GraphQL provides one endpoint for all resources or all data provided, in contrast to rest api that provides resources or data through multiple endpoints or multiple controllers.

- The data response displayed from graphql will be structurally the same as the data structure requested by the client.

- GraphQL can provide multiple resources or data in one request. Rest services should provide it with multiple urls.

The topics described in this book start from the explanation of graphql & core architecture; installation of the necessary libraries; creation of core web in visual studio; use of ef core for database access sql server & postgresql; use of queries and mutations; use of tools for graphql access; use of logging and data loaders; real-time services with subscription; implementation of core identity; use of jwt authentication; deployment; and many more.

The discussion in this book is carried out in stages, so that it is hoped that after studying it, readers will have sufficient skills or abilities to build GraphQL-based services with ASP.NET Core according to the needs in the field.

Hopefully this book can be another alternative as a learning resource for exercises, tutorials, or a reference for those who want to learn the backend programming of GraphQL API Services with ASP.NET Core that is connected to SQL Server and PostgreSQL databases.

Ratings and reviews

1 review

About the author

Rully Yulian MF born in Indonesia. Completed her Bachelor of Geophysical Engineering education at the Bandung Institute of Technology. The author is currently actively working as a senior trainer and one of the founders of an IT Training Center (Native Enterprise) in Bandung and has experience in teaching for 16 years.

The author is a Microsoft Most Valuable Professional (MVP) from 2009 to 2016. In addition, the author also has several Microsoft international certifications including MCAD, MCPD, MOS, MTA, and Xamarin Certified Mobile Professional. Whereas in the field of training the author has held MCT (Microsoft Certified Trainer) certification since 2008-2019.

The author also has a personal website that contains articles related to programming and other topics in accordance with the expertise of the author, please visit the website To contact the author can be done via email at account.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.