Your GraphQL schema is a contract of the data that clients can request from your API. A well designed schema is essential for any GraphQL enabled application.

In this video, Cecil Phillip & Michael Staib talk about some important aspects of GraphQL schema design with the Hot Chocolate framework. 

Index:

  • [00:38] – Overview of GraphQL schema design
  • [02:44] – Defer loading portions of the schema
  • [03:52] – Discussing schema first design
  • [05:11] – Using resolvers in HotChocolate
  • [06:51] – Retching data with fragments
  • [10:42] – Understanding Query types
  • [13:03] – Defining schema using the SchemaBuilder
  • [14:46] – Working with multiple IDs
  • [18:11] – Structuring mutations
  • [20:05] – Returning error responses in GraphQL
  • [23:33] – Learn more about GraphQL with the free workshop

Useful Links

GraphQL supports the ability to subscribe to event streams to enable somewhat real-time scenarios for both clients and servers.

In this episode of the On .NET show, HotChocolate author Michael Staib returns to show us how to enable real-time data fetching with GraphQL using subscriptions .

Video Contents

  • [02:02] – What is real-time data fetching?
  • [04:30] – What are subscriptions used for?
  • [05:48] – Setting up a GraphQL client in Blazor (Demo)
  • [10:55] – Updating the GraphQL schema with fragments
  • [16:38] – Updating the Razor components
  • [24:48] – Using GraphQL variables
  • [28:18] – Adding subscriptions

Related Links

ML.NET is a free, cross-platform and open source machine learning framework designed to bring the power of machine learning (ML) into .NET applications.

Live from Build 2019, we are joined by Cesar De La Torre Llorente who gives us a great overview of what the goals of ML.NET are, and shares with us some of the highlights of the 1.0 release.

Useful Links