Presentation on deep dive into developing serverless REST API on Azure functions with a real-time example, explore tooling options, testing and deploying alongside a discussion on different ways of securing the APIs.
Regular App Service plan
Meter Price Free Grant (Per Month)
Execution time* £0.000012/GB-s 400,000 GB-s
£0.15 per million
1 million executions
Azure Functions – Develop your way
Code directly in Azure portal
Code in Visual Studio 2017 15.5 or later
Install “Azure Development” workload
Includes tooling to create Azure Function projects and
classes locally and publish
Includes Azure CLI (Command Line Interface) which
allow you to run and debug your functional locally.
Azure Functions extension for Visual Studio Code
Demo: Azure Function Proxy –
Demo: Azure Function Proxy
Serving static content
Securing Azure Functions
Use functions key
Use in-built authentication with Azure active
directory and other identity service provider
like Microsoft login, Gmail login etc.
Use custom identity provider
Create IP based rules in API gateway
Use function proxy to override request
Don’t overdo it
It may not be the right choice for all
Find the piece of functionality that you can
isolate, reuse which need high scalability, fast
mock api to support frontend development
Make your function simple, stateless and
focus on 1 thing per function.