Skip to content

CloudKlabauter/HotChocolateWorkshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workshop: GraphQL with Hot Chocolate & .NET 6

🎯 Goal of the Workshop

We would like to give you an insight into the development with GraphQL based on Hot Chocolate and .NET. We as a team have gained a lot of experience with GraphQL and are looking forward to share it with you.

At the end of this workshop, you should be able to decide on your own if GraphQL is the right technology for your projects and have the knowledge to use it.

🧑‍💻 Prerequisites

Knowhow prerequisite

Basic experience in development with C# and ASP.NET (Core). Experience with REST APIs is an advantage.

Tech prerequisite

👷‍♂️ What you'll be building

In this workshop, you'll learn by building a full-featured GraphQL Server with ASP.NET Core and Hot Chocolate from scratch. We'll start from File/New and build up a full-featured GraphQL server with custom middleware, filters, subscription and relay support.

Database Schema:

Database Schema Diagram

GraphQL Schema:

The GraphQL schema can be found here.

🏋️‍♂️ Challenges

The challenges can be solved individually or in teams. We will provide you separate collabaration environment.

01: Create your GraphQL Server Project

02: GraphQL Query Execution & DataLoader

03: Schema design approaches

04: Understand middlewares & Adding filter capabilitiess

05: Adding real-time functionality with subscriptions

06: GraphQL Client

07: Testing the GraphQL server


Temporary Notes:

Exercises should be based on ChilliCreams Hot Chocolate Workshop Scenario and Hot Chocolate Examples