Azure Functions supports WSGI and ASGI-compatible frameworks with HTTP-triggered Python functions. This can be helpful if you are familiar with a particular framework, or if you have existing code you would like to reuse to create the Function app
You can develop and deploy a function app using either Visual Studio Code or the Azure CLI. Make sure you have the required prerequisites for your preferred environment:
- Prerequisites for VS Code
- Prerequisites for Azure CLI
- Azure Deployment enviroments has provisioned the environment
- Clone this repo
- Use VSCode to open "fastapi-on-azure-functions"
- Right click "WrapperFunction" and select "Deploy to Function App..." (Please install exntesion "Azure Tools" if there is no such option)
- Select the function app provisioned to deploy
Visit the URL https://.azurewebsites.net/sample or https://.azurewebsites.net/hello/