Hot Chocolate: GraphQL Schema Stitching with ASP.Net Core
summary
Shows Hot Chocolate on ASP.Net Core can set up a Hot Chocolate gateway in under 5 minutes and stitch multiple GraphQL services (Apollo/Node, Hot Chocolate/.NET) plus REST and GitHub into one executable schema. Demonstrates auto-stitching and manual rewriting via SDL extensions and directives to add fields from other services, with live demo proving it works. Claims a ~13x parser speed advantage, supports authorization directives and a cost directive for query limits to prevent expensive nested queries.
AI-written summary · about
chapters (13)
- 0:00Introduction to GraphQL
- 1:38What is wrong with REST APIs
- 8:43Why GraphQL is better
- 13:29Building a GraphQL server in ASP.NET Core
- 18:24Schema stitching for microservices
- 22:01Demo: Schema stitching setup
- 26:02Extending schemas with stitching directives
- 30:44Hot Chocolate vs other .NET GraphQL implementations
- 33:10Where to find Hot Chocolate resources
- 33:38Q&A: Sensitive fields and authorization
- 35:08Q&A: GraphQL vs OData adoption
- 36:15Q&A: Client adoption and query depth protection
- 39:10Summary and closing
