I am in the process of moving this blog away from WordPress to github pages. I have nothing bad to say about WordPress it has served me well but the github solution is a better fit for me. The new blog will be hosted at https://blog.memoryleek.co.uk, update your rss feeds to point at https://blog.memoryleek.co.uk/feed.xml
Promoting Maven Packages to Release Views using the Azure DevOps Artifacts REST API.
I am moving the blog away from wordpress to github pages, this article will remain here and is also available at the new location, https://blog.memoryleek.co.uk/maven/devops/pipelines/artifacts/2020/05/27/maven-artifacts-devops.html. WARNING: I can’t find any reference to this API in any of the official documentation, it is consumed by the azure devops site so should be fairly stable but could … Continue reading Promoting Maven Packages to Release Views using the Azure DevOps Artifacts REST API.
Service Bus – .Net Framework and .Net Core interoperability
Problem: I have a Service Bus Queue Consumer that is written in .net 4.6. I have existing clients that are written in .net 4.6 that currently work fine (and will need to continue to work fine into the future). I am writing a .net core app that needs to post to the same Queue (and … Continue reading Service Bus – .Net Framework and .Net Core interoperability
Stupid uses of Azure Resource Management Templates #1 – FizzBuzz
For the record I am in no way advocating this as a good use of ARM templates but it was an entertaining little exercise, it starts with an offhand comment in a slack channel (context obscured to protect the innocent)... I am sure there is a better way of doing this using Output variables but … Continue reading Stupid uses of Azure Resource Management Templates #1 – FizzBuzz
Setting an Azure function Host key at deploy time with Azure DevOps
V1 functions have a problem if you were working with deployment slots. The Host keys were tied to the slot meaning when you swapped slots the key changed! The solution is clunky but works, give each slot a host key containing the same value. We wanted to do this at deploy time (via the release … Continue reading Setting an Azure function Host key at deploy time with Azure DevOps
Handling Profiles in API Management ARM templates
We have been working with the following https://github.com/Azure/azure-api-management-devops-example to deploy APIs (and API management) via ARM templates + Azure Devops and have a minor quality of life tweak involving Profiles. Profiles are the workhorses of APIM (https://docs.microsoft.com/en-us/azure/api-management/set-edit-policies), these are the snippets of xml that control how mapping works or how APIs are cached (amongst other things). … Continue reading Handling Profiles in API Management ARM templates
Creating an Azure AntiVirus Scanner – Part 3
Create an Azure Function API to talk to the docker instance The User Story (recap): I want to be able to tell if a document uploaded to a site is free from malware or viruses. TLDR: Azure Functions v2 + nClam + ClamAV docker instance = AntiVirus API (For part 2 where we get the … Continue reading Creating an Azure AntiVirus Scanner – Part 3
Creating an Azure AntiVirus Scanner – Part 2
Getting the docker container up and running in Azure Container Instances The User Story (recap): I want to be able to tell if a document uploaded to a site is free from malware or viruses. TLDR: Docker Image + Azure Container Repository + Azure Container Instance = Azure File Scanner (For part 1, where we … Continue reading Creating an Azure AntiVirus Scanner – Part 2
Creating an Azure AntiVirus Scanner – Part 1
Getting an antivirus service in a docker container up and running locally (on windows) The User Story: I want to be able to tell if a document uploaded to a site is free from malware or viruses. TLDR: ClamAV + Docker + VSCode + Windows = Local File Scanner Now, surely, I hear to say, … Continue reading Creating an Azure AntiVirus Scanner – Part 1