How to deploy to Azure Functions using GitHub

When we start getting serious about using Azure Functions, we’re likely going to want a little more horsepower to edit them. Visual Studio gives us a top-flight editing experience, but how do we work with Azure Functions locally? And how do we deploy them to the cloud?

When we use GitHub to store our code, we enable an easy way to deploy our functions continuously to Azure, but it doesn’t come without caveats. This post is about getting you familiar with the benefits, side-effects and consideration points you’ll need to make as you move towards continuous deployment in Azure Functions.

Read More

How to Resize Images Uploaded to Blob Storage with Azure Functions

Here’s the scenario: you have some block of processing that needs to be executed everytime a file is pushed up into your blob storage account. The solution: use Azure Functions and the integration module for blob-triggers so that you don’t have to do any of the heavy lifting.

In this post we’ll look at using a storage account trigger to automatically have an image processed as part of an Azure Function App. Not just to be used for image processing, any type of object can trigger a block of work and it will follow these same mechanics.

Read More

How to organize types in your Azure Function scripts

Even when you’re dealing with Function Apps that have limited scope it’s a good idea to break your scripts up into manageable, possibly reusable chunks. This is especially true if you want to work with the same data in several Functions in your app.

Keep your functions type-free

This is one way you can organize your scripts, types and objects in Azure Function Apps, and we’ll have a deeper look at another approach later in this series.

Read More