Adventures with Blazor: Login and Logout Events

Ever wanted to do something after a user logs in or logs out of your Blazor App? Surprisingly, it fairly simple to do. In VS Code I created a Blazor WebAssembly project that uses Azure ADB2C for authentication. Once scaffolded, I navigated to the Authenticate.razor page in the Pages folder. The RemoteAuthenticatorView component supports two…

Adventures with Azure API Management: Add JSON Property in Set-Body

I have a policy on all my operations in Azure API Management to validate a JWT Token and extract the sub Claim, which I store in a userId variable that can be used in other policies. I have an operation called Organization Add that calls an Azure Function to add an organization to the database….

Adventures in Azure: Curbside Pickup Sample App

With all that is going on with COVID-19 and the impact that it is having on retailers, I took a couple of days and wrote a curb-side app that would allow customers to notify a retailer, or any vendor for that matter, that they had arrived to pick-up their order. Please note, this is an…

Adventures with Azure DevOps: .azcli Files to .sh

I am building a pipeline for deploying my application, the first thing I needed to do was deploy my Azure resources. I have a tendency to be more imperative with my deployment strategy, using Azure PowerShell and Azure CLI over Azure Resource Management (ARM) templates. I use Visual Studio Code to code my azure-pipelines.yml file,…