Running GraphQL API on Azure Function with F# and ASP.NET Core Authorization
summary
Shows a working GraphQL API hosted on Azure Functions using F# (and C# interop) with ASP.NET Core authorization wired into dependency injection, policies and uses Microsoft Graph to fetch AD groups for claims. Demonstrates schema, queries, mutations and input handling, explains why JSON Patch causes problems for nested GraphQL inputs and how to convert between JSON and DSL objects. Deploys to Functions, notes cold-start, execution-time limits and WebSocket constraints, and concludes the approach works but has operational trade-offs.
AI-written summary · about
