I created a Static Web App per the instructions on this page. The Javsscript Azure Function worked.
Then I replaced the API with a C# version. Now when I publish the Function to Azure, I get the following error.
The function language 'dotnet' is unsupported or invalid. The following languages are valid: node.
Is this due to Azure Static WebApp wont support dotnet/C#? How can I use C# inside a Static Web App if it can support?