Building Modern Applications with GraphQL and Blazor

Michael Staib

View at original site


Blazor and GraphQL combined will revolutionize how we build rich SPA applications with pure .NET. Blazor, for the first time in years, gives .NET developers the ability to develop applications that run in the browser. This allows us to use our knowledge that we acquired in the backend or with desktop applications on the web.

GraphQL on the other hand changed how we work with data fetching. With GraphQL, the frontend developer defines how the interface between the frontend and the backend looks. We no longer have friction between backend and frontend developers and are able to iterate much faster.

Let us explore how we can put those together and change how we design components by binding them to GraphQL fragments. With GraphQL, the data becomes front and center and drives our application.

After having a fundamental understanding of how GraphQL improves our data fetching needs in web applications, we will move on and build a nice real-time application with Blazor and GraphQL. Let’s build a truly engaging next gen application and push Blazor to the limit!

Resources

About the Presenter

Michael Staib, Developer, ChilliCream

Michael is a Microsoft MVP and the author of the Hot Chocolate project (https://github.com/ChilliCream/hotchocolate), a platform for building GraphQL servers and clients in .NET. For the last three years, this open-source project has been his main focus.

Apart from his work in the open-source community, Michael works as a consultant to help companies to move to GraphQL. You can read about the Hot Chocolate project on his blog https://chillicream.com/blog/.

Related Resources

Blazor Essentials
Blazor Essentials
Learn how to build a basic application with Blazor.
HTMX cascading selects
HTMX cascading selects
One thing leads to another.
HTMX state management
HTMX state management
Maintaining state across requests.