In this first demo post, I want to show how to create a simple website using Azure functions. This isn’t anything fancy and, more than likely, you won’t be attempting to do this in production, but it will still serve a purpose for us to get introduced to building functions. It is important to note that, when functions first became available, some people did, in fact, try to host their website(s) by using functions only. Why not? After all, they would only have to pay for the time the function actually ran. This could end up being a mere $1 or $2 each month. Microsoft got wind of this and put some mechanisms in place to prevent this sort of thing. We’re going to sidestep some of these mechanisms by hard-coding some HTTP responses. Again, this isn’t production-worthy.
So, you’ve heard about Azure Functions? Possibly read about them somewhere? Why all the fuss? What exactly are Azure Functions? Well, you’ve stopped at the right place. In this post and the next couple of posts, I’m going to talk about Azure Functions, along with their history, use cases and some tutorials. So, let’s get started.
Subscribe to receive new posts in your inbox.