Tutorialspoint
Subscription Includes
$ 130   9.99

Creating GraphQL APIs with ASP.Net Core for Beginners

Created by Nilay Mehta, Last Updated 10-Oct-2020, Language:English

Creating GraphQL APIs with ASP.Net Core for Beginners

Understood GraphQL specifications as well as use of GraphQL dotnet library for creating GraphQL API & Client

Created by Nilay Mehta, Last Updated 10-Oct-2020, Language:English

What Will I Get ?

  • Understood GraphQL specifications
  • Write GraphQL queries
  • Create own GraphQL APIs
  • Consume GraphQL API from dotnet client

Requirements

  • Basic concepts of C#
  • Basic ASP dotnet development
  • Visual Studio 2019

Description

GraphQL is a language for APIs that enables you to query and manipulate data easily through an intuitive and flexible syntax.

GraphQL is an open-source data query and manipulation language for APIs.

GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015.

It is used in many server-side languages like Java, Node, Ruby, Python, PHP, Go, and obviously dotnet too. And APIs created using GraphQL can easily accessible by almost languages like JavaScript, Android, Swift, Python, PHP, Java, and dotnet.

In a GraphQL request, you specify how to structure the data when it’s returned by the server. This makes it possible for you to query only the data you need, in the format you need. This results in better network utilization and performance, especially on mobile devices.

The course outline includes:

  • Introduction to GraphQL. And understood how it’s different from RESTful APIs.

  • Create basic GraphQL queries. As well as with Arguments and aliases.

  • Using fragments and inline fragments on the type to select specific fields.

  • Using variables for passing data via query variable, and directives to obtain fields based on condition.

  • Use paging to retrieve data as page wise and with sorting order.

  • Understood what schema is and learn about each type supported by GraphQL.

  • Use of Introspection for obtaining schema or type related details.

  • Create a server-side project with Entity Framework core and GraphQL dotnet library.

  • Use mutation for insert, update, or delete operation.

  • Using subscription for creating an event stream.

  • Implement Authentication for queries based on JWT Identity.

  • Validation of query and Exception handing from the server-side.

  • And executing queries and mutations from client-side project using C#.

Who this course is for:

  • This is for newbies who want to learn GraphQL
  • Developer who know C# & ASP dotnet and want to create GraphQL APIs
  • Person who want to understand GraphQL specifications
  • Developer who want to create own GraphQL APIs

Course Content

Nilay Mehta

Passionate Software Engineer and Instructor

Hey, My name is Nilay Mehta! I am an experienced .Net developer, having the Microsoft certificate of Programming with C#.Net. I have a Master of Computer Applications and Bachelor of Computer Application degrees. Starting out in the IT industry about 3 years ago. I've worked with a range of development tools from PHP, C#, ASP.NET, and ASP.Net core. I am a passionate software engineer who loves learning new technologies, and from the past 3 years, I'm enjoying sharing that knowledge through blogs and courses.