Create Azure Functions with GraphQL Support

This post is about creating .NET Core Azure Functions with GraphQL Support. For supporting GraphQL we are using the HotChocolate package. First we need create an Azure Function using the...

Continue reading...

GraphQL Subscriptions in ASP.NET Core

01 Dec 2021

This post is about implementing Subscriptions in GraphQL. Subscriptions are a GraphQL feature that allows a server to send data...

Continue reading

GraphQL Mutations in ASP.NET Core

27 Nov 2021

This post is about GraphQL in ASP.NET Core with EF Core. In this post we will explore how to implement...

Continue reading

Azure Functions - Could not load file or assembly System.Text.Encoding.CodePages

This post is about how to fix the exception Could not load file or assembly System.Text.Encoding.CodePages when you’re using any HTML parser in Azure Functions. Recently while working on Azure Static Web App, I faced an issue like this. I created an Azure Function in Dotnet, which helps to parse...


Working with model validation in Minimal APIs

This post is about implementing model validation in ASP.NET Core Minimal APIs. Minimal APIs do not come with any built-in support for validation. In this post we will explore how to build one and we explore will use some other libraries which can be used to implement validations. You can...


GraphQL multiple requests and EF Core DbContext

GraphQL support multiple operations in a single query. So that you can query multiple objects in a single request. Here is an example. query { a:links { title url description imageUrl } b:links { title url description imageUrl } c:links { title url description imageUrl } } In this query...


GraphQL in ASP.NET Core with EF Core

This post is about GraphQL in ASP.NET Core with EF Core. In the earlier post I discussed about integrating GraphQL in ASP.NET Core with HotChocolate. In this post I will discuss about how to use GraphQL on top EF Core. First I will be adding nuget packages required to work...