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

Bringing Hump Completion to PowerShell

It can be fun when ideas from different areas combine! I’ve spent quite a lot of time recently working with Azure Resource Manager templates, and the associated PowerShell cmdlets. There are a lot of these cmdlets and the team has done a great job of giving them logical and descriptive names. The result is that…

0

Easily checking Azure Resource Manager deployment status from bash with the Azure CLI

If you’re working with Azure Resource Manager templates on OSX/Linux then there’s a strong probability that you’re using the Azure CLI to deploy them. The CLI works on Windows as well, but if you prefer a PowerShell version of this post then see http://blogs.msdn.com/b/stuartleeks/archive/2015/11/25/easily-checking-azure-resource-manager-deployment-status-from-powershell.aspx. I’ve had a couple of mini-scripts that I’ve found myself using…

0

Easily checking Azure Resource Manager deployment status from PowerShell

If you’re working with Azure Resource Manager templates on Windows then there’s a strong possibility that you’re using the Azure PowerShell cmdlets to deploy them. Note that if you’re on OSX/Linux you can use the Azure CLI. Oh, and it works on Windows as well! For an Azure CLI version of this post see http://blogs.msdn.com/b/stuartleeks/archive/2015/11/26/easily-checking-azure-resource-manager-deployment-status-from-bash-with-the-azure-cli.aspx…

0