Stuart Leeks

Stuart Leeks - Web and Cloud Geek

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...

Author: stuartle Date: 05/21/2018

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...

Author: stuartle Date: 05/01/2018

Azure Functions and App Service Authentication

Azure App Service has a handy authentication integration that takes away the work of integrating...

Author: stuartle Date: 02/19/2018

Including Headers for Request Events with Application Insights

When working with Application Insights recently in an ASP.NET application, I suddenly realised that...

Author: stuartle Date: 11/03/2016

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...

Author: stuartle Date: 10/19/2016

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....

Author: stuartle Date: 05/24/2016

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...

Author: stuartle Date: 05/24/2016

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...

Author: stuartle Date: 05/10/2016

Persisting Azure PowerShell logins

With the pre-1.0 Azure PowerShell cmdlets, my Azure login credentials were cached. Since making the...

Author: stuartle Date: 12/11/2015

Working with docker output in PowerShell

Just a quick post today :-) These days I find myself working in both PowerShell and bash, and when...

Author: stuartle Date: 12/01/2015

Bringing Hump Completion to PowerShell

It can be fun when ideas from different areas combine! I’ve spent quite a lot of time recently...

Author: stuartle Date: 11/26/2015

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...

Author: stuartle Date: 11/26/2015

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...

Author: stuartle Date: 11/25/2015

Configuration with Environment Variables – With Visual Studio Docker Tools

I posted recently about using environment variables to configuration. I like to use this approach...

Author: stuartle Date: 08/19/2015

Posh-AzureCli: Command completion for Azure Cross Platform Command Line in PowerShell

  tl;dr This post discusses adding tab completion to Azure xplat CLI. If you just want to...

Author: stuartle Date: 08/17/2015

Azure API Apps – Configuration with Environment Variables

I’ve been digging into API Apps (and Logic Apps) in Azure App Service recently. If...

Author: stuartle Date: 08/10/2015

Finding files in the PATH with PowerShell

Just a quick post this time! I frequently find myself wanting to know where a command in my PATH is....

Author: stuartle Date: 07/02/2015

PowerShell ISE Theme – Visual Studio Code style

I’ve been spending quite a bit of time in Visual Studio Code recently, and even doing some...

Author: stuartle Date: 07/01/2015

Videos of Visual Studio Code

Last week I was out in Seattle and had the pleasure of recording a couple of interviews with the...

Author: stuartle Date: 06/17/2015

Azure API Management: Backing Up and Restoring Configuration

UPDATE: If you are wanting to work with API Management (including backing up and restoring...

Author: stuartle Date: 04/29/2015

New role and magazine articles

Just a quick update to say that I changed roles at the end of January... I'm now a Technical...

Author: stuartle Date: 03/09/2015

Importing Windows Azure Cloud Services into Remote Desktop Connection Manager (RDC Man)

This is the third article in what has somehow turned into a mini-series. Previous posts are: Using...

Author: stuartle Date: 11/20/2014

Teaching ASP.NET Web API to WADL–via NuGet

** UPDATE - This was a fun experiment, but if you want to do this sort of thing then check out...

Author: stuartle Date: 06/22/2014

Teaching ASP.NET Web API to WADL

** UPDATE – I’ve added a NuGet package to make it easier to add WADL support to your...

Author: stuartle Date: 05/20/2014

Scripting Visual Studio with PowerShell – great for demos

Overview In this post I’ll show a solution for automating tasks when opening a solution in...

Author: stuartle Date: 03/19/2014

NuGet Package Manager Console tip

I love NuGet – I find it a very productive way to add and update references. Being able to package...

Author: stuartle Date: 01/21/2014

Importing Windows Azure Virtual Machines into Remote Desktop Connection Manager (RDC Man)

UPDATE: See here for an updated version for RDC Man 2.7 that adds support for PaaS instances. After...

Author: stuartle Date: 01/16/2014

ASP.NET Identity and Windows Azure Table Storage

In case you haven’t heard, ASP.NET Identity is the new kid on the block for handling user...

Author: stuartle Date: 01/15/2014

Using Remote Desktop Connection Manager (RDC Man) with Windows Azure Virtual Machines

UPDATE: I've posted a follow-up with a PowerShell script to automate this :-) UPDATE2: See here for...

Author: stuartle Date: 01/15/2014

Automatic camel casing of properties with SignalR hubs (SignalR v2)

The web is built on HTTP which works on a request, response, request, response, … basis....

Author: stuartle Date: 11/28/2013

Understanding View Rendering Performance in ASP.NET MVC

Recently I was working with a customer who wanted to understand where the time was spent during...

Author: stuartle Date: 11/15/2013

Automatic camel casing of properties with SignalR hubs

UPDATE: The code in this post relates to SignalR v1. For an updated version that works for SignalR...

Author: stuartle Date: 09/10/2012

Flexible Conditional Validation with ASP.NET MVC – adding client-side support

Part 1 – Introducing RequiredIf Part 2 – Adding client-side support (this post)...

Author: stuartle Date: 09/07/2012

Entity Framework 5: Controlling automatic query compilation

When working with LINQ to Entities, Entity Framework has to parse the expression tree from the LINQ...

Author: stuartle Date: 06/12/2012

ASP.NET MVC: Supplying HTML attributes with EditorFor

My colleague Simon Ince and I recently discovered that we had been working on the same problem...

Author: stuartle Date: 05/24/2012

ASP.NET MVC & jQuery UI autocomplete Part 2 (EditorFor)

UPDATE: I've blogged about an more flexible way to wire up the editor template here. I recently...

Author: stuartle Date: 05/02/2012

ASP.NET MVC: Adding aria-required attribute for required fields

UPDATE: I've blogged about an more flexible way to wire up the editor template here. There are a lot...

Author: stuartle Date: 05/01/2012

ASP.NET MVC & jQuery UI autocomplete

UPDATE: I've written a follow-up post that shows how to achieve this using Html.EditorFor here. If...

Author: stuartle Date: 04/23/2012

WebGrid extensions on NuGet

If you’ve not read my MSDN magazine article on using WebGrid to render tabular data then go read it...

Author: stuartle Date: 01/24/2012

Flexible Conditional Validation with ASP.NET MVC 3

What? UPDATE: I've now blogged the follow-up post on adding client-side support Part 1 - Introducing...

Author: stuartle Date: 10/06/2011

Pluggable Model Conventions

One of the things that I really like about ASP.NET MVC is its extensibility story. In the recent...

Author: stuartle Date: 09/23/2011

ASP.NET MVC resources

One of the fairly common questions I get asked is "what good resources are there for ASP.NET MVC?"...

Author: stuartle Date: 07/13/2011

Get the Most out of WebGrid in ASP.NET MVC

My first MSDN Magazine article is up: Get the Most out of WebGrid in ASP.NET MVC. So, if you want to...

Author: stuartle Date: 07/03/2011

ASP.NET MVC: Partial rendering and AjaxAttribute

On a number of occasions I’ve been working with a customer on a scenario where we were adding...

Author: stuartle Date: 04/13/2011

Debugging ASP.NET MVC

One of the handy things about ASP.NET MVC is that the source code is available. I’ve found this...

Author: stuartle Date: 03/07/2011

ASP.NET MVC 3: Integrating with the jQuery UI date picker and adding a jQuery validate date range validator

UPDATE: I've blogged about an more flexible way to wire up the editor template here. This is post...

Author: stuartle Date: 01/25/2011

ASP.NET MVC: ValidatePasswordLength and PropertiesMustMatch in ASP.NET MVC 3 RC2

This is the fifth post in what is becoming a mini-series: ASP.NET MVC: Adding client-side validation...

Author: stuartle Date: 12/17/2010

Using ASP.NET MVC and jQuery to create confirmation prompts

Having coded up samples several times showing how to add confirmation prompts to links on a web page...

Author: stuartle Date: 12/16/2010

Backwards compatibility and and preserving search engine ranking

Phew – that was a long title! This is a follow-up to a post that my colleague Josh wrote recently. I...

Author: stuartle Date: 09/03/2010

Extensionless URLs not working with ASP.NET MVC 2 on IIS 7/7

This post is mostly a self-serving bookmark, but if you somehow landed here and are having issues...

Author: stuartle Date: 08/24/2010

Next>