Showing all posts tagged: 'Functions'

A 12-post collection

Running Azure Functions anywhere with the power of containers

I work with Azure Functions a lot. I also work a lot with Docker, Windows Containers, and microservices in general. For some time I have been talking about these subjects either to customers or at conferences trying to explain how they can be used to fulfill different tasks and meet different project requirements. Azure Functions are the swiss army knife of developers and IT/Ops teams because they can solve so many problems with minimal code, maintenance overhead and infrastructure abstractions around scalability and reliability. Up until now, if someone needed to create a run an Azure Function there were …[read more]

Enforcing HTTPS-only traffic and HSTS settings for Azure Web Apps and Azure Functions

I hope that by now your site is running under HTTPS. If not, you may want to read Troy Hunt's blog post(s) on the subject. He does a great job explaining the WHY. If your site's running on Azure Web Apps under the default naming convention <yoursitename>, you have the option to enforce HTTPS using the Azure certificate. However, this is not recommended. Most likely, you'll have your site running under a custom domain. If that's the case, you'll need a custom certificate. There are many ways to acquire a certificate for free but the …[read more]

TechDays Netherlands 2017

In October 2017 I got the privilege to speak at my first Microsoft-organised conference in the Netherlands. It was 2 days (well, 3 days if you count travelling) of packed talks, meetings, interesting conversations and general geeking out. I've spoken about why you should attend these kind of events either as a speaker or attendee many times and this event definitely proved me right. Apart from the awesome talks that I had the chance to attend, I met with many Microsoft and non-Microsoft developers from around the world and got the chance to learn from them and expand my network …[read more]

Azure Functions, Node.js and Environment Variables

Another fun project (yes another one) using 2 of my favourite frameworks: serverless with Azure Functions and Node.js. I'm developing locally using the Azure Functions Core Tools (former CLI) and Visual Studio Code. It's a match made in heaven as I get to be super productive using the CLI and at the same time feel like a proper developer debugging issues in VS Code. I can attest that I don't have a single Console.log() in my JavaScript code. Since this is a real-life project, I get to do more than just simple "hello world" samples and slowly but …[read more]

Introduction to Azure Functions Deployment Slots

Deployment slots have been an invaluable feature for Azure Web Apps for a long time. To find out how to create slots for Azure Web Apps, you can visit the official documentation here. So what makes deployment slots so useful? I summarize some of the benefits below but this is by no means the exhaustive list: Testing in Production - A/B Testing Hot deployments that allow deployment to production with no downtime UAT testing targeting a near live environment Easy roll out and roll back Full or incremental swapping DevOps integration with slots (VSTS deployment directly to slot) many …[read more]