Been trying for years to loose weight, but this summer I had to stop exercising as I had a sciatic nerve issue, twice, which took some time to recover from. So by september I’d lost 10 Kg, no big thing, over the a four month time period thats what all the diets aim for isnt it. So the doctor sent me for some blood tests and I went on holiday. My holiday was interrupted by calls from the GP to get in contact, which I did on return.
Read More
Written on September 26, 2025
Integration testing of azure functions is essential when demostrating that a service does what its supposed to do, and also responds in the way you expect.
This post shows how you can construct a unit test, in this case Specflow, so that it excutes the function as a background process, so that you can test it using standard http calls.
Read More
Written on May 1, 2025
- S - Single responsibility
- O - Open Closed
- L - Liskov Substitution
- I - Interface Segregation
- D - Dependency Inversion
Read More
Written on June 14, 2024
Data Annotation
Read More
Written on June 14, 2024
- Create a new Solution
- Create your directory structure
- Add relervant Projects in the directory structure
*
- Export each project using the Project->Export Template menu item
- This will create a zip file.
- Repeat for all Projects.
- Go to the directory where the zips have been created
- C:\Users{user}\OneDrive - Knight Frank\Documents\Visual Studio {version}\My Exported Templates
- In this directory create your folder structure
Read More
Written on September 27, 2023
How many times do you find yourselves not knowing the type of a object, and wanting to cast it.
Read More
Written on September 5, 2023
Introduction
A web application, also known as a web app, is a software application that runs on web browsers and is accessed over the internet. It is designed to provide interactive and dynamic functionality to users, like traditional desktop applications, but with the advantage of being platform-independent and accessible from any device with a web browser.
Read More
Written on June 22, 2023
How to build Cloud components without any Azure Experience
It is a bit of a misnomer; you need people with cloud experience.
Read More
Written on May 1, 2023
Description
Read More
Written on January 20, 2023
Description
Read More
Written on January 20, 2023
Description
Read More
Written on January 19, 2023
Description
Read More
Written on November 10, 2022
What
A Managed Identity is a Azure resource which comprises two components.
- A resource. A resource will create a Identity in Azure AD
- An Azure Role
Read More
Written on July 21, 2022
If you are trying to use git within a devops pipeline then you will need to enable the pipeline the bility to commit.
Read More
Written on July 20, 2022
Adaptive Cards is a Json structure which describes how to display information in various Microsoft Applications.
Currently the standard is at version 1.2, and the definition can be seen here https://AdaptiveCards.io
Read More
Written on November 19, 2020
Azure Functions include a built in ILogger so you can fulfill all your logging needs,
There is one issue, if you try to use the Ilogger in any of you subsequent classes the ILogger seems to be null.
Read More
Written on June 19, 2020
Function Monkey Hello World
Read More
Written on February 17, 2020
Overview
Splitting business rules away for the traffic flow of data has become commonplace in all development for the last few years. It has a lot of advantages as it crystallizes the rules for an object into a simple definable, readable and most of all testable item.
Read More
Written on January 9, 2020
Description
A while a go I was working on a spreadsheet style applicaiton for the web, and we needed a method to store the 2 dimentional data in a 1 deminentional database.
This was the resultant database structure, which is a linked list, which allowed both data and formula’s to included.
There was either a template structure so you could load predefined sheets.
I’ll get round to recreating the web page…. eventually.
Read More
Written on December 1, 2019
Overview
This started out as a google project, hence the ‘g’, but the gRPC community is keen to distance itself from that.
gRPC is quickly becoming a standard that getting wide adoption across the industry.
Read More
Written on October 16, 2019
Loqate
Loqate is a service which supplies addresses and geocoding for a given search string.
The Loqate service employs a iterative id base system where by, if you supply the id to subsequent calls then you will get narrower results. When you receive a result of type ‘Address’ then you can call Loqate’s Retrieve api call to get that items address details.
Read More
Written on August 8, 2019
Read More
Written on August 8, 2019
Best practices when using SAS
When you use shared access signatures in your applications, you need to be aware of two potential risks:
Read More
Written on July 31, 2019
Documentation is task that is best shared among all the relevant people, each supplying enough information that satisfies there understanding of the issue.
Read More
Written on July 25, 2019
Read More
Written on July 22, 2019
- What
- An inline frame is used to embed another document within the current HTML document.
- How
<iframe src="https://www.w3schools.com"></iframe>
Read More
Written on July 16, 2019
Fluent Assertions is a helper library for testing that tries to add better context to your assertions.
Read More
Written on July 16, 2019
Azure functions has always been missing the startup sequence enjoyed by other .net core applications.
DI is now a first class member and the above post by microsoft explains whats needed well.
Read More
Written on July 16, 2019
Read More
Written on May 22, 2019
KeyVault is a central resource where you should be storing all of your applications secrets/connection strings and config.
The reason for using KeyVault rather than using a local config file, is really quite simple. config files dont exist for most azure artefacts, and if they did, it would encourage the sort of key management that has plagued .NET since day one.
By using the KeyVault in this way means that the application code doesn’t need to know anything about the environment or its configuration. The build process should inject any secrets into the parameters file, which the ARM Template deployment consumes and deploys.
Read More
Written on March 28, 2019
By default storage accounts are encrypted, and Microsoft holds the keys.
The encryption that is used is AES 256 bit, as it is one of the strongest ciphers currently available.
Read More
Written on March 4, 2019
The blob container resource is a sub-resource of the storage account. When you create a storage account, you can now specify an array of storages resources. We are then going to specify objects of type “blobServices/containers”, and make sure to use an API version of 2018-02-01 or later.
In the example below, we are creating a storage account with two containers.
Read More
Written on February 15, 2019
To convert certificate that is in .pfx to base64 format in PowerShell, you can use .NET namespace available in PowerShell to convert. I had a scenario where I was required to use base64 encoding to upload certificate to Azure to secure communication to backend instance. Since Microsoft Azure provides rich API to work with. I was able to make a patch request and push certificate to Azure.
In this tutorial, I will show you how to convert certificate from .pfx to base64.
Open PowerShell as an administrator.
Now that we have PowerShell console opened. Let’s first load the content into a variable.
[System.Convert]::ToBase64String($pfxFileBytes) |
Out-File ‘PfxFileBytes-Base64.txt’ |
Read More
Written on February 12, 2019
For a full description of WOPI, please follow the link to the project.
WOPI Project
Read More
Written on February 11, 2019
I’m always looking for ways to simply automate deployments, so I don’t have to hard code, or repeat myself.
This blog is looking at Key Vault deployments, and its use.
Read More
Written on February 11, 2019
I found a good resource, so I can include bot C4 diagrams and Azure icons within a PlantUML diagram.
I’ve done C4 within PlantUml before but it was a bit crude.
Read More
Written on February 11, 2019
PlantUML is not directly supported by GitHub, but its still possible.
Basically we pass your puml file to PlantUML to generate, and they return a PNG which gets included in the page
Read More
Written on February 8, 2019
For something so simple, arm templates can become complex things, so I prefer to try to set some ground rules before I go to deep.
N.B this works for me, and may not suit everyone 😉
Read More
Written on October 15, 2018
For something so simple, arm templates can become complex things, so I prefer to try to set some ground rules before I go to deep.
Read More
Written on October 10, 2018
Microsoft announced that you can now enable static websites on a storage account. This will generate a new URL for your site, and enable read access to any static html files within the blob storage.
There’s a link to Microsoft’s preview announcement here.
https://azure.microsoft.com/en-us/blog/azure-storage-static-web-hosting-public-preview/
Read More
Written on August 14, 2018
Each component is a separately deploy-able artefact, but we need a coherent single URL to link them all.
The normal method would be to deploy out each individual component to Azure and each would get its own ‘aurewebsites.com’ URL. This approach would lead to confusion, as it would mean you would need to keep lists of URL’s
By using the proxy feature of Azure Functions we can define routes to each of the installed artefacts while preserving a single URL for the application.
So:-
Read More
Written on August 14, 2018