Develop and Test GraphQL Server with GraphQL .NET & ASP .NET
Starting with the fundamentals of GraphQL and utilizing GraphQL NET
What you’ll learn
Develop and Test GraphQL Server with GraphQL .NET & ASP .NET
- Basic GraphQL
- Basic GraphQL.NET Server
- Testing GraphQL with GraphQL Client
- Basic GraphQL Queries
Requirements
- The fundamentals of ASP.NET
- Entity Framework Fundamentals
- The fundamentals of WebAPIs
Description
This course, Develop and Test GraphQL Server with GraphQL.NET & ASP.NET, is designed to help anyone with no prior knowledge of GraphQL understand the nitty-gritty details of developing GraphQL Server with GraphQL.NET and testing it with GraphQLClient.NET and WebApplicationFactory for integration testing.
We will also test the application using XUnit as a testing library and the GraphQL Client as part of this course.
For the sake of clarity, this course has been divided into the following sections.
GraphQL Fundamentals
- Query Interpretation
- Parameters: An Introduction
- Comprehending Arguments
- Understanding the Name of the Operation
- Identifying Aliases
- Getting to Know Schema
- Getting to Know Mutations
- Fragments: An Introduction
Using Entity Framework as an ORM in an ASP.NET WebAPI project
- Creating a WebAPI project from the ground up
- The Entity Framework is being added.
- Data layer and controllers are being added.
- Pattern for Creating Repository
- Pattern for controllers to access data from a repository
Creating a GraphQL Server that can support
- Making a Query
- Schema creation
- QueryTypes Creation
- InputQueryTypes Creation (for mutation)
- There is now support for nested Query.
- Mutations’ Support
GraphQL Client is used to testing GraphQL.
- Using XUnit for testing
- HttpClient isn’t required for unit testing.
- Using TestServer and WebApplicationFactory for integration testing
At the end of the course, you’ll know how to work with GraphQL using GraphQL.NET, as well as how to use WebApplicationFactory to perform Unit and Integration testing and reduce the footprint of running the entire server by only running the test server to test the entire application in just a few lines of code.
Who this course is for:
- Developers
- QA
- Automation Test Engineers
Full-Stack React, Python, and GraphQL Course
Download Now