I typically run my GraphQL backends as an Azure App Service or Azure Container app, but today I had to create a really small API. I was wondering, could I use an Azure Function to host this API? Let's find out in this post. Creating an Azure Function App Let’s start by creating our Azure Function App. I’ll use Visual Studio in this example but you could perfectly use Visual Studio Code as well. Open Visual Studio and choose Create a new project . In Create a new project , enter functions in the search box, choose the Azure Functions template, and then select Next . In Configure your new project , specify a project name and click Next . in Additional Information, set the following values: Functions worker: .NET 6 (there is no reason to run this as an isolated worker) Function: HTTP Trigger Authorization level: Anonymous Click on Create to create our Function app and the HTTP Trigger function. We’ll update our...