Azure Functions are a new way to run your logic on a serverless technology in the cloud. Azure functions are hugely popular mainly because they can be cheaper compared to app service - as you have an option to pay only for the time spent running your code.
Note
- Azure Functions documentation: http://bit.ly/2Pb36jP
- Serverless in Azure: https://azure.microsoft.com/en-us/solutions/serverless/
In this recipe, we will look at how to create an Azure Function in TypeScript and then we will look at how to deploy a sample Azure Function to Azure.
To create the Azure Function, you will need the following tools installed on your machine. Go ahead and install them all.
- VSCode: https://code.visualstudio.com/
- Azure Functions Extension for VS Code: http://bit.ly/2Pd9OGk
- NodeJS 8.0 and above: https://nodejs.org/en/
- PostMan: https://www.getpostman.com/