Skip to content

Hot Chocolate

Hot Chocolate delivers a powerful GraphQL server for BlazorSaas within the .NET ecosystem. It enables efficient API development with robust features and tools.

Why We Use It

BlazorSaas relies on Hot Chocolate for its comprehensive GraphQL support and seamless .NET integration. It simplifies building queries, mutations, and subscriptions while boosting performance with DataLoaders. This reduces API complexity and speeds up development.

How We Use It

BlazorSaas uses Hot Chocolate to handle GraphQL queries for data retrieval, mutations for updates, and subscriptions for real-time events.

DataLoaders optimize data fetching by batching requests, minimizing database load.

The schema Nuke target updates the GraphQL schema from the API to the web project.

It powers the API backbone, integrating with other components like MartenDB and Wolverine.

How It Scales

Hot Chocolate scales with Fusion, a gateway tool that aggregates smaller or microservices-based APIs into a unified schema. This allows BlazorSaas to expand by connecting multiple services efficiently. Add Fusion as your application grows to manage distributed workloads seamlessly.

Resources