Category: Azure
-
Azure DevOps – The command “gulp build” exited with code 134.
I had a CI/CD pipeline working for a long while now without any issues in Azure DevOps. All of a sudden, my build starts breaking with the following error: The command “gulp build” exited with code 134. GulpBuild: gulp build gulp build[3232]: src\node_contextify.cc:633: Assertion `args[1]->IsString()’ failed. Probably spent a good 2 hours getting to the…
-
The element DataSyncEncryptionKey is not supported in Microsoft Azure SQL Database v12
Bump. Did you also get the following error after trying to export a database in Azure? Could not extract package from specified database. The element DataSyncEncryptionKey_XXX is not supported in Microsoft Azure SQL Database v12. I’ve had to contact Azure Support recently who were able to help me fix this problem. Even though there was…
-
Azure – Horizontal vs Vertical scaling
Yesterday, the Azure South Central datacenter got impacted by a severe weather event which caused a lot of systems going down, including 7 of my personal websites, 1 of them being this blog. I mentioned this to a few colleagues on separate conversations and interestingly both conversations ended up with a discussion around auto-scaling in…
-
How to setup an Umbraco CMS from scratch and host in Azure
In this blog post, we will go through what it takes to setup a new Umbraco CMS for hosting in Azure. If you can’t be bothered hosting this on your own, you can always use Umbraco’s cloud offering, and skip this entire tutorial. There are three steps: Azure – prepare your resources (web app, database,…
-
How to setup your Umbraco media folder with an Azure storage account
In this blog post, we will go through how you can setup your Umbraco media files to use an Azure storage account. This process involves installing the NuGet package UmbracoFileSystemProviders.Azure. Pre-requisites: Before proceeding below, make sure you already have an Azure Blob storage account with at least one container (i.e. media) and that you have…
-
Azure Virtual Machines – Benefits of developing in the Cloud
It’s now over a year since I started developing on Azure Virtual Machines and while it’s not cheap (more on this later), it’s hard for me to go back and develop locally on physical machines. In this post, I’ll go over the advantages of owning and developing on a Virtual Machine hosted in the cloud.…
-
How to setup a web app with Cloudflare CDN
I had a live web app in Azure that I wanted to hook up with a CDN using Cloudflare. Good news – Cloudflare has a free Global CDN offering and so I didn’t have to pay anything to use it. For more details about what other features you can have with a free account, see…
-
How to workaround an Azure Virtual Machine that’s stuck in “Starting” state
I’ve encountered this a couple of times and from experience, it’s usually either after any of the below: Disk resize – in my case, I increased my disk size from 120gb to 200gb Installation of Windows upgrades in the VM Most of the time you can just navigate to your Virtual Machine > Support+Troubleshooting >…
-
How to setup Continuous Delivery right within Visual Studio 2017
I noticed the other day a new section on the Publish page in Visual Studio that allows developers to setup Continuous Delivery right within VS 2017: So I gave it a try and was honestly impressed at how easy it was to configure. Follow the screenshots below: Hit OK and wait for it to run.…
-
Register your app for authentication on the Azure Active Directory
To trust Azure Active Directory users on your application, you will need to create an app registration on Azure. Portal > Active Directory > App registrations > + New application registration Fill up the details of your app. The sign-on URL can be changed later so you can enter a local site…