Serverless GraphQL in .NET with Azure Functions and Hot Chocolate
summary
Builds a .NET GraphQL server using Hot Chocolate on Azure Functions, shows configuring in-process vs isolated hosts to get cancellation/streams, and uses DB context pooling, EF Core queries with projection/filter/sort middlewares, and cursor pagination. Demonstrates real-time subscriptions delivered over SignalR/Azure SignalR Service or GraphQL SSE, with a publish-book mutation and a console subscriber that receives events. Covers cold-start, consumption vs premium plans, and using Redis/NATS for cross-instance pubsub; demos run and publish events successfully.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 2:50What is GraphQL
- 7:07GraphQL query
- 9:22GraphQL overview
- 11:56Creating a GraphQL server
- 17:48Transport agnostic
- 18:25Serverless
- 20:32Functions
- 22:20Azure Functions
- 23:37Hosting Models
- 24:49Azure Functions Demo
- 28:50Goals
- 30:22Data fetching
- 34:15Pagination
- 38:31Sorting
- 40:39Subscriptions
- 42:21Events
- 50:12GraphQL WS
- 52:52Scaling
- 55:10Serverless GraphQL
- 56:32Deferring
related talks
01h 04mHot Chocolate: An introduction to GraphQL on ASP.Net Core
01h 05mCreating a GraphQL API with ASP.NET Core
01h 05mBuilding modern applications with GraphQL 2023 and beyond in ASP.NET Core 7
01h 10mHotChocolate: An Introduction to GraphQL for ASP.NET Core
57mBuilding modern applications with GraphQL 2021 and beyond in ASP.NET Core 6
58mHot Chocolate: An introduction to GraphQL on ASP.Net Core
52mHot Chocolate: GraphQL Schema Stitching with ASP.Net Core
01h 01mBuilding real-time applications with Blazor and GraphQL
