Adventures with APIM: Blazor WebAssembly CORS Issues

For the past couple of hours days I have been battling an issue 🤔 where my CORS policy in APIM did not seem to be working for my Blazor WebAssembly application. I thought I had my APIM policy correct, allowed-origins and allowed-methods looked good. Still was receiving the CORS issue?! 😤 Thought I had this…

Adventures with Azure APIM: C# In My Policy

I was asked by a customer recently on how to call a third-party API that required an MD5 hash to be included as a query string parameter from Azure API Management. I knew the answer was in policies but was not exactly sure how to do it. I also seemed to remember the Marvel API…

Adventures with Azure DevOps: Manual Validations

I wanted to test adding approvals to an Azure DevOps YAML pipeline, outside of Environment approvals. I created a project that contains the following files: deploy.bicep – Bicep template that will create a storage account in Azure. validate.ps1 – PowerShell script that mocks a validation stage, could be a what-if or some other validation. deploy.ps1…

Adventures with Cosmos: Delete All Documents

When testing my Cosmos database I often like to reset the containers, or in other words, delete all the existing documents. Unfortunately, there is no way to do a DELETE * FROM in Cosmos, at least not yet. I know I could create a Console Application or Azure Function to do this, but I was…