Develop and Test GraphQL Server with GraphQL .NET & ASP .NET

From complete basic of GraphQL using GraphQL NET

This course Develop and Test GraphQL Server with GraphQL .NET & ASP .NET is focused on making anyone who has zero knowledge in GraphQL and make them understand the nitty-gritty details on developing GraphQL Server with GraphQL .NET and testing the GraphQL server using GraphQLClient .NET and WebApplicationFactory for integration testing.

What you’ll learn

  • GraphQL Basic.
  • GraphQL .NET Server Basic.
  • GraphQL Testing with GraphQL Client.
  • GraphQL Queries basic.

Course Content

  • GraphQL Basic Query Introduction –> 5 lectures • 48min.
  • Setting ASP.NET project with Entity Framework ORM –> 5 lectures • 19min.
  • GraphQL Server Development with GraphQL.NET –> 6 lectures • 41min.
  • Test GraphQL with GraphQL Client.NET –> 6 lectures • 28min.

Develop and Test GraphQL Server with GraphQL .NET & ASP .NET

Requirements

  • Basic of ASP .NET.
  • Basic of Entity Framework.
  • Basic of WebAPIs.

This course Develop and Test GraphQL Server with GraphQL .NET & ASP .NET is focused on making anyone who has zero knowledge in GraphQL and make them understand the nitty-gritty details on developing GraphQL Server with GraphQL .NET and testing the GraphQL server using GraphQLClient .NET and WebApplicationFactory for integration testing.

As a part of this course, we will also do testing of application with XUnit as testing library along with GraphQL Client.

This course is split into the following sections for simplicity

  • Basics of GraphQL
    • Understanding Queries
    • Understanding Parameters
    • Understanding Arguments
    • Understanding Operation Name
    • Understanding Alias
    • Understanding Schema
    • Understanding Mutations
    • Understanding Fragments

     

  • Setting up ASP .NET WebAPI project with Entity Framework as ORM
    • Creating basic WebAPI project
    • Adding Entity Framework
    • Adding Data layer and controllers
    • Creating Repository pattern
    • Accessing data from Repository pattern for controllers

     

  • Developing GraphQL Server which supports
    • Creating Query
    • Creating Schema
    • Creating QueryTypes
    • Creating InputQueryTypes (for mutation)
    • Support for nested Query
    • Support of parameters/query arguments
    • Support for nested sub-queries
    • Support for Mutations

     

  • Testing GraphQL using GraphQL Client
    • Testing using XUnit
    • Unit Testing without HttpClient
    • Integration testing with TestServer and WebApplicationFactory

At the end of the course, you will understand how to work with GraphQL using GraphQL .NET and also you will understand how we perform Unit testing and Integration testing with the help of WebApplicationFactory and reduce the footprint of running the whole server and instead just run the test server to test the whole application in just couple of lines of code.

 

Get Tutorial