Azure Functions Demo: Voting App

2 minute read

Back in April this year, Pete Zerger (@pzerger) and I delivered two sessions in Experts Live Australia. One of which is titled “Cloud Automation Overview”. During this session, we have showed off a pretty cool voting demo app that is made up with Azure Functions, Key Vault, Azure SQL DB and Power BI.

architecture

As shown above, this demo app allows attendees in our session to vote on a topic that we have chosen by scanning QR codes using mobile devices. In this case, since we were delivering the session in Melbourne Australia, we have decided to let people to vote how much they like the Australia iconic food Vegemite.

image

The vote result can be viewed via a Power BI report:

image

This demo was well received during our session, and Pete has used it again with our fellow CDM MVP Lee Berg (@LeeAlanBerg) during one of their sessions in MMS in May.

A week ago I saw the Azure Functions product group is building a central hub for demos and they are looking for examples. So I reached out to them and offered the voting app demo.image

They asked me to put everything in a public GitHub repository and also include the deployment instruction. So I spent whole day yesterday, put everything together in a public GitHub repo, and also automated the entire deployment process using PowerShell and ARM template.

Regardless if this demo app is going to make to the Azure Functions gallery or not, I think it’s a pretty cool solution and I’ve decided to publicize it here.  So here’s the Repo:

https://github.com/tyconsulting/AzureFunctionVotingAppDemo

You will find all the deployment artefacts in this demo, as well as a detailed instruction in README.md. The QR codes and sample Power BI report are all actively running in my Azure and O365 subscription. Feel free to try it out!

If this has made to the PG’s gallery, I’ll update this post and include the gallery link later.

Here’s the PG’s samples gallery wiki page: https://github.com/Azure/Azure-Functions/wiki/Samples-and-content.

When we were preparing our Experts Live sessions back in March / April this year, since Pete loves Vegemite so much and he’s even got his name printed on the jars, we have decided to use Vegemite as our voting topic:

image

Last Christmas, my wife and I found a “Happy Little Vegemite” (a famous Aussie kids song: https://www.youtube.com/watch?v=0yA98MujNeM) top in the Australian pyjamas brand Peter Alexander shop and I bought one for myself.

image

Before our presentation, we were talking about wearing this top during our session but we couldn’t find one for Pete in the shops – we were told it was a Christmas special edition. The day before our session, my wife managed to find a brand new one on eBay, that is Pete’s size and was located in Melbourne. So she bought it and drove all the way to the seller’s location and picked it up for Pete while we were in the conference delivering the other session. As the result, next day, both Pete and I delivered our Automation session wearing PJs. I don’t know about Pete, but this is certainly my first time (wearing PJ on stage):

VegemitePJ

Leave a comment