Things you may consider when choosing a Microsoft Azure Region.

With over 50 regions worldwide, Azure has more global regions than any other cloud provider. When you have to choose a region for your Azure resources, consider these four factors: Not all services are available in all regions You have to ensure all resources you want to deploy are available within the desired region. Here… Continue reading Things you may consider when choosing a Microsoft Azure Region.

Serving a HTML Page from Azure PowerShell Function

The new PowerShell language (experimental) support in Azure Function is really handy. Especially if you want to use the Azure PowerShell cmdlets to retrieve any kind of Azure Resources and diplay them in a HTML page. Hosting the cmdlet in Azure Function eliminates the need of a local installed Azure PowerShell module. Here is a simple… Continue reading Serving a HTML Page from Azure PowerShell Function

Three reasons why you should associate multiple subscriptions with the same Azure Active Directory

In Azure, multiple subscriptions can trust the same Azure Active Directory but each subscription trusts only one directory. If you create a new Azure subcription, a new Azure Active Directory is automatically created and associated with your subscription. To provide a user access for a resource you can use Role-Based Access Control (RBAC) given that… Continue reading Three reasons why you should associate multiple subscriptions with the same Azure Active Directory

Configure Azure Cloud Shell to use a profile hosted on GitHub

You may have noticed that you can run the Azure Cloud Shell without the portal as a separate component on https://shell.azure.com/ The shell is really handy since it can be used from everywhere. Today I want to show you how you can load a remote profile that is hosted on GitHub in the Azure Cloud Shell.… Continue reading Configure Azure Cloud Shell to use a profile hosted on GitHub

Rename Azure Storage Blob using PowerShell

At the time of writing this there is no API to rename an Azure Storage blob in one operation. You have to copy the blob and delete the original one after the copy process completes. You can vote for the feature here: Rename blobs without needing to copy them Until then you can use my convenience Rename-AzureStorageBlob… Continue reading Rename Azure Storage Blob using PowerShell

Using Azure Key Vault in ASP.NET Core 2.0 with the options pattern

The best way to store secrets in your app is not to store secrets in your app Almost every web application needs some kind of secrets like a SQL Database connection string or the primary key of a Storage Account in order to communicate with external services. Certainly we don't store these secrets within our… Continue reading Using Azure Key Vault in ASP.NET Core 2.0 with the options pattern

Web.config for hosting an Angular application on Azure Web App

If you host an Angular application on Microsoft Azure you probably want to define a mimemap for .json and .woff / .woff2 files to get rid of the console errors. Also in order to enable client side routing we have to add a rewrite rule. This is how my web.config looks like: To ensure the… Continue reading Web.config for hosting an Angular application on Azure Web App