API Development in .NET with GraphQL
1h 45mBeginner2018-02-28
Authors

Glenn Block
Seasoned product management professional with 20+ years of experience
Course details
GraphQL—a query language for APIs that was originally built by Facebook—helps developers build queryable APIs that drive data-driven apps. In this course, Glenn Block demonstrates how to use the GraphQL.NET framework to build a fully functional GraphQL endpoint. Glenn takes you through the entire process, explaining how to create a new GraphQL project, enable querying, configure the schema, allow updates through mutations, create subscriptions, and more. After completing this course, you'll have a better understanding of how to leverage your existing .NET skills—and the GraphQL.NET framework—to build efficient, modern apps.
Learning objectives
Creating a new GraphQL project
Exposing a new GraphQL API
Enabling and creating mutations
Updating and configuring the schema
Enabling subscriptions
New GraphQL.NET schema classes
Creating the OrderEventType
Learning objectives
Creating a new GraphQL project
Exposing a new GraphQL API
Enabling and creating mutations
Updating and configuring the schema
Enabling subscriptions
New GraphQL.NET schema classes
Creating the OrderEventType
Skills covered
GraphQL.NETAPIsPersonaProgramming LanguagesOpen SourceMicrosoftSoftware Development
Concepts
Introduction
- Welcome
- What you should know
- Using exercise files
- What is GraphQL.NET
- Running on Mac and Linux
Creating a New GraphQL Project
- What we're going to build
- Creating the GraphQL API solution
Exposing a New GraphQL API
- How to enable querying
- Create models
- Create customer service
- Create order service
- How to configure the schema
- Create customer and order GraphQL types
- Create OrderStatuses GraphQL enum
- Configure the GraphQL query and schema
- Enable server and issue a query
Allowing Updates through Mutations
- How to enable mutations
- Update models and services
- Update the schema
- Configure the schema
- Create a mutation and verify the change
Enabling Clients to Subscribe to Notifications
- How to enable subscriptions
- Start updating models and services
- Complete updating models and services
- New GraphQL.NET schema classes
- Create the OrderEventType
- Create the OrdersSubscription
- Configure the schema
- Create a subscription and fire a notification
Conclusion
- Next steps