Last but not least, let's consider some best practices when working with Azure Functions. There's plenty more to be said about working with functions, but these are some easy to follow best practices that will help you a great deal when it comes to writing maintainable functions:
- Use Visual Studio and Azure DevOps: First, and I cannot stress this enough – if you need more than trivial functions, write them using Visual Studio and source control and deploy them using Azure DevOps. It's quick and easy to set up, so you have no excuses!
- Avoid long-running Functions:Â Functions should be small and lightweight. Larger functions with many dependencies or with lots of code can cause unexpected timeouts. If you have one big function, try splitting it up into many small functions instead. Microsoft even recommends that some HTTP...