Azure Container Registry Global Webhooks–with a helping of Azure Durable Functions

I spend quite a lot of my time working with containerised solutions in Azure, so I make use of Azure Container Registry (ACR). ACR has a couple of features that I really like: webhooks and geo-replication. With ACR, webhooks are not global (i.e. they are fired for each replicated region). Sometimes this is what you…

2

posh-HumpCompletion in Azure Cloud Shell

Azure Cloud Shell is an in-browser shell experience that you can launch from the Azure portal or on its own at shell.azure.com. You can choose between bash and PowerShell, and both come with a nice range of installed tools (bash, PowerShell). Oh, and you can also use this inside the Visual Studio Code editor as…

0

Azure Functions and App Service Authentication

Azure App Service has a handy authentication integration that takes away the work of integrating with various identity providers (currently: Azure Active Directory, Facebook, Google, Twitter and Microsoft Accounts). Azure Functions are built on the same underlying core components as Azure App Service and in this post we will show how to integrate http-based Azure…

1

Including Headers for Request Events with Application Insights

When working with Application Insights recently in an ASP.NET application, I suddenly realised that the HTTP request and response headers weren’t included in the request data that is automatically captured. Fortunately, Application Insights has a few handy extensibility points, and this post looks at how to use one of them to include selected request and…

0

IntelliSense for Marathon Application and Group JSON in Visual Studio Code

tl;dr – You can get IntelliSense for Marathon applications and groups in Visual Studio Code by adding a $schema property The Problem I’ve been having quite a lot of fun with Docker Containers recently, including presenting at various conferences! For ease and speed of demoing, I’ve tended to show Docker Swarm (with Docker Compose) when…

0

Tweaking your PowerShell profile – Part 2: conditionally loading modules

Introduction In the previous post we saw how to show the progress as PowerShell loads your profile. I spend a lot of time working with the Azure PowerShell cmdlets so I had added them to my profile. However, it turned out that they can be a little slow to load (yes, I know I’m impatient!)….

0

Tweaking your PowerShell profile – Part 1: showing loading progress

Tl;dr In this post we look at adding rotating output at the top of the PowerShell window as shown here: Introduction Recently I realised that PowerShell was taking a while to load on my machine. I’d been adding more and more things to my profile and wanted a way to easily see what was taking…

0

Posh-HumpCompletion–from the ground up

Earlier this year I spent some time with Seth at Channel 9 and we recorded a couple of videos. I’m a little behind on things, but the first video is now up, and covers building posh-HumpCompletion from scratch. It skips over some of the optimisations, but covers the main functionality.

0

Persisting Azure PowerShell logins

With the pre-1.0 Azure PowerShell cmdlets, my Azure login credentials were cached. Since making the switch to the 1.x release I’ve found that I need to execute Login-AzureRmAccount each new PowerShell session. This has been bugging me for a while and today I finally foudnm the time to figure out a way round it. I’m…

1

Working with docker output in PowerShell

Just a quick post today 🙂 These days I find myself working in both PowerShell and bash, and when I’m in PowerShell, I like to have objects that I can work with. With the Azure CLI I can use the –json switch and then use something like jq to process the output, or in PowerShell…

0