Migrating from ASP.NET Core 5.0 MVC app to 6.0

This post is about how to update an existing ASP.NET Core 5.0 MVC project to ASP.NET Core 6.0. I am sharing my experience while upgrading one of .NET 5.0 project...

Continue reading...

Integration Testing ASP.NET Core 6 Minimal APIs

11 Dec 2021

This post is about implementing integration testing in ASP.NET Core Minimal APIs. Usually when I talk about Minimal APIs, one...

Continue reading

Bring your own functions to Azure Static Web Apps

10 Dec 2021

Azure Static Web Apps APIs are supported by two possible configurations: managed functions and bring your own functions. This post...

Continue reading

Handling file uploads in Open API with ASP.NET Core

This post is about implementing handling file uploads in Open API with ASP.NET Core. Open API is one way to document REST API endpoints. When we using Web API and IFormFile class to upload a file, Open API will display a File Upload control in the UI like this. Here...


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 func init GraphQL-Azure-Function --dotnet command. Or if you’re using VSCode create a function with dotnet runtime and HTTP Trigger. Next...


GraphQL Subscriptions in ASP.NET Core

This post is about implementing Subscriptions in GraphQL. Subscriptions are a GraphQL feature that allows a server to send data to its clients when a specific event happens. Subscriptions are usually implemented with WebSockets. The subscription type is almost implemented like a query. Most cases subscriptions are raised through mutations,...


GraphQL Mutations in ASP.NET Core

This post is about GraphQL in ASP.NET Core with EF Core. In this post we will explore how to implement mutations using ASP.NET Core. Mutations help you to update the data in the database. Here is the Mutation class. In this class, we are adding the link object to database...