If you want to browse the GraphQL server head over here.
For this workshop we need a couple of prerequisites. First, we need the .NET SDK 8.0.
Then we need an IDE/editor in order to do some proper C# coding, you can use VSCode or if you already have it on your system, Visual Studio or JetBrains Rider.
Last but not least we will use our GraphQL IDE Nitro.
Note: When installing Visual Studio you only need to install the
ASP.NET and web development
workload.
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, subscriptions, and Relay support.
Database Schema:
GraphQL Schema:
The GraphQL schema can be found here.
Session | Topics |
---|---|
Session #1 | Creating a new GraphQL server project. |
Session #2 | Understanding DataLoader. |
Session #3 | GraphQL schema design approaches. |
Session #4 | Understanding middleware. |
Session #5 | Adding complex filter capabilities. |
Session #6 | Adding real-time functionality with subscriptions. |
Session #7 | Testing the GraphQL server. |