CON IT. Just CON IT!

I may have put a post up about this for V1 of the Mtg Discovery website, but it's bit me in the ass differently, so there's another post. Assuming I wrote one originally. CON has special meaning to Windows. See https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#handle-legacy-devices…

Azure DevOps Output Variables

In my re-writing of my Infrastructure for MtgDiscovery I have a Task Group that I want to get the SystemIdentity for a resource. My plan for this innocuous task was to use output variables. Seems simple. Write-Host "##vso[task.setvariable variable=Resource.SystemIdentity;isSecret=false;isOutput=true;]$principalId" No.... Tasks…

Azure PowerShell vs Azure CLI v2

I'm entirely re-doing my infrastructure for the entirely re-doing of my Magic The Gathering Collection Tracking Site. I did it in powershell the first time, and it works. Mostly. It's clunky and there's some stuff Azure PowerShell can't do. I wrote about that in v1 of this toe-to-toe. The rewrite…

HOLY SHIT!

I'm on vacation!? What the fuck! (Well, I will be, this is being written about 6 weeks in advance) This is the first actual planned vacation vacation I've been on in 5 years. 5 years to the day. (maybe off by 1... or 2) So, instead of pre-writing an actual…

Azure Function Logging

There's a few resources out there about customizing the logging of Azure Functions... but none worked for me. I mean, one worked. This blog post. Even it doesn't SPECIFY the setting, just assumes it'll be inferred. Well... I did. But I'm going to put here how to customize the logging…

Exception Throwing

I don't do a lot of exception handling. I write code that avoids it as best as it can. The edges of my systems are out of my control. The edges of my system do throw exceptions. If I can't do the correct thing for the exception, I bubble the…

Azure Powershell... Grrrr

I'm working on re-writing MTG Discovery and doing all of the infrastructure through Azure PowerShell. It's great... I like it... but fuck... If I'd known how much friction I'd run into for various bits, I'd have gone with using the Azure CLI. I don't want to bash on the product,…

RETURN OF THE IMOCK

I did a twitter where I mentioned I'd updated my IMock packages. These are for Nuget and ReSharper. What the fuck is IMock? First - Rude. I wrote about it a couple years ago when I did an IMock Announcement. Which... on review... I dropped the fucking ball. I didn't…