Adventures with Azure DevOps: Connect to Azure Database for MySQL

I have been doing a lot around Azure DevOps as of late, and started dipping my toe into the CI/CD for databases, thought of calling it DataOps, but that doesn’t look like the correct term. Anyway, in my Azure DevOps pipeline I wanted to run a few tasks against an Azure Database for MySQL, e.g….

Adventures with Azure DevOps: Assembly Version Validation

I have a .NET 5 Web Api that I deploy using classic pipeline in Azure DevOps. When my Web Api is published I want to confirm that the correct version was really deployed, sometimes things happen where the deployment is successful but for some reason the older assembly might not be overwritten. In my Web…

Adventures with Bicep: Cosmos Connection Strings

I have been playing around with Azure Bicep for deploying my infrastructure to Azure. If you are new to Bicep, please take a look at Azure/bicep: Bicep is a declarative language for describing and deploying Azure resources (github.com). My challenge? I want to write Cosmos connection strings to Azure Key Vault. I am using Bicep…

Adventures in Azure: Naming Conventions

“There are only two hard things in Computer Science: cache invalidation and naming things.” — Phil Karlton When it comes to naming resources I always somewhat follow the guidance recommended at Recommended naming and tagging conventions – Cloud Adoption Framework | Microsoft Docs. Personally, I put more emphasis on tagging than naming, the tags can…

Adventures in Apis: Grouping Controllers in Swagger

I like a one to one mapping between my controllers and actions, e.g. I have a controller to add an entity, delete an entity, and so on. I wired up Swagger support for my .NET Core API per Adding Swagger to ASP.NET Core 3.1 Web API (coderjony.com). When I view the Swagger documentation in the…

Adventures in Azure API Management: Pay Attention to Order in Policies

I was trying to secure an Azure API Management (APIM) APIs with OAuth 2.0 and Azure AD per Protect API backend in API Management using OAuth 2.0 and Azure AD – Azure API Management | Microsoft Docs. My APIM managed API calls a back-end .NET Core API secured with Managed Identity. In my policy, which…

Adventures with Azure ARM Templates: Deployment Fails See inner errors for details

In my effort to get better with Azure ARM Templates I encountered the following error in one of my deployments:

To get a more verbose version of the error you can execute the following cmdlet: Make sure to include -Verbose otherwise you won’t get the details you need to troubleshoot the error. Navigate to…

Adventures with Postman: Dynamic Variables

Dynamic variables allow you to randomly generate values for your Postman requests, e.g. First Name and Company Name. Postman dynamic variables include: Common Text, Numbers and Colors Internet and IP Addresses Names Profession Phone, Address and Location Images Finance Business Catchphrases This is a fun one! Databases Dates Domains, Emails and Usernames Files and Directories…