Gabe Shapiro's blog

Tips, scripts, and bits of code

Dynamically pass a SAS token into your ARM template via PowerShell

There are scenarios where you may need to pass an Azure Storage Shared Access Signature (SAS) token...

Date: 07/12/2018

PowerShell script to save a list of folder and file contents & file sizes to a csv file in App Service

When you encounter an unexpected runtime symptom that occurs after you deploy to your site, there...

Date: 09/02/2017

Redirect HTTP to HTTPS when using ASP.NET Core in Web App on Linux - Azure App Service

A couple things to consider when implementing HTTP to HTTPS redirect for an ASP.NET Core application...

Date: 08/14/2017

Automatically stop (and start) an Azure App Service main site, or disable and re-enable Always On, during Git- / Kudu-based deployment

Let's say you do GitHub or Bitbucket continuous deployments to an Azure App Service. At some point,...

Date: 08/13/2017

Log in to Azure Resource Manager (ARM) through Kudu to use ARM PowerShell

Azure App Service has Azure Resource Manage (ARM) PowerShell modules installed, which gives you the...

Date: 08/11/2017

Using the Azure ARM SDK for Node to get Site Metrics for your App Service

Documentation for using the Azure ARM SDK for Node to get Site Metrics for your App Service can be...

Date: 01/01/2017

Samples for using the Azure App Service Kudu REST API to programmatically manage files in your site

Information about the Kudu REST API is found here: https://github.com/projectkudu/kudu/wiki/REST-API...

Date: 01/01/2017

Umbraco logging in Azure App Service

Umbraco is a third-party CMS that can be hosted in Azure App Service. Umbraco has built-in Log4Net...

Date: 01/01/2017