Asp.net Core 2.0 Identity with multiple OIDC providers

I ran into an issue working on an OpenId Connect (OIDC) project recently and it turned out to be due to my usage rather than a bug, however I don't think it was obvious what I was doing wrong. Once I found out the answer I wanted to use this blog post to record it here in case I run into it again in future and if it helps someone else then that's great too. I was adding multiple OpenId Connect configurations to a brand new ASP.net Core 2.0 project and depending on which endpoint I clicked on I was seeing a rather unhelpful error message. The relevant Startup.cs snippet was service…

Read more »

Introduction to AKS - Managed Kubernetes Service on Azure

To paraphrase Marc Andreessen, Kubernetes is eating the world. Microsoft today (24th October 2017) announced the public preview of the AKS, a fully managed Kubernetes Service running on Azure. TL;DR AKS is to Azure what GKE is to Google Cloud Platform. Kubernetes on Azure Sure you've been able to run Kubernetes on Azure for a while, so why AKS and how does it differentiate itself from the other solutions on Azure? Broadly speaking you have 3 choices for running Kubernetes on Azure. Kubernetes the hard way - spin up the infrastructure and install it yourself. Azure Container Service (ACS)…

Read more »

Windows containers on Azure Container Instance

If you're experimenting with Windows containers and want a super quick way to get started with running the containers you can't get anything easier than Azure Container Instances (ACI). At MS Ignite 2017 Microsoft officially announced you can now run Windows containers on Azure Container Instances (it is still in preview though). Its pretty easy to get started, especially with the command line interface (cli), we're using the Cloud Shell to make things even easier here. First lets create a new resource group for our container instance (this is identical for linux or windows containers). az…

Read more »

Container Camp UK 2017 review - Day 1

Posted on

I attended my first Container Camp last week and wanted to share my experience. This is part 1 talking about the workshop day, check out part 2 (coming soon) for the main conference itself. Before I go any further I think it's useful to mention my technical background because most conference crowds will often polarise towards a particular ecosystem/platform (that's kind of obvious right!). In the case of containers that polarisation is towards Linux compared Windows, understandable as Linux containers have been the forerunner in this area, so talks and even sponsors were going to be talkin…

Read more »

Docker for Windows - switch between Linux and Windows containers from the command line

Posted on

If you use Docker for Windows on Win10 and use both Linux and Windows containers you've no doubt have had to switch the docker tools between Linux and Windows containers more than a few times. To do this you have to bring up the tray icon for Docker Tools select the option to switch flavours. Given that pretty much everything else for Docker is achieved via the command line it feels like quite a jolt to have to leave the command line to switch container flavours, often you'll forget and get an error when trying to build or pull. Thankfully its possible to switch the docker tooling between Wi…

Read more »