Been a quiet week, so wasn’t expecting to have much to write on here, however a few things happened worth talking about. My First PR A comment was made to me to do something with the postcodes that are in the system I am developing. Find out what projects have postcodes near each other, and that way work can be grouped...

I know Active Directory is fussy about clocks being in sync however not sure how todays issue happened. I run my docker compose file from Visual Studio and I get a weird error. SecurityTokenNotYetValidException: IDX10222: Lifetime validation failed. The token is not yet valid. ValidFrom: 'System.DateTime', Current...

One of my favourite podcasts is Troy Hunts weekly update. In it he discusses stuff that he has been working on, plus some personal stuff. I am going to attempt to do something similar. It will probably take me a few of these before we get a look and feel that works. Monday A week off work, mainly to use it up before...

Have you wondered what info you are leaking via your response headers?, do you want some kind of guide about what headers to set or remove altogether? Head on over to https://securityheaders.com/ This is a site created by security expert Scott Helme that rates a URL based on what response headers it can see. I am...

My last blog post was over six months ago. Covid 19 has hit the world, and I will be honest I have found it a challenging time. My Blog had gotten into a bit of a mess. It had become fragmented with different versions of the same thing; I will attempt to explain what has become of my blog. The original WordPress site...

Let’s Encrypt is amazing, you can easily add SSL certificates to any website and automate the renewal process. I have talked before about how impressive it is. Once you start adding SSL certificates to your production sites however you may want to check when they expire so you don’t get caught out. You can always open...

Picard is back!

It has just been announced at the annual Star Trek Las Vegas (#STLV ) convention that Patrick Stewart is going to return to his role as Jean-Luc Picard in a new TV Show. Few other details have been announced other than the TV show will take place 20 years after the film Star Trek: Nemesis and will feature the...

Gated Release

Automated releases of software are great but how can we add an element of feedback so only good releases go live. I have been using Azure DevOps to release my PwnedPass android app to the Google Play Store for a while now. There are options to deploy to the alpha, Beta or Production tracks and even to set % of users to...

Documenting your API

So you have created a super API that does something amazing. How do you document it so people will use it? One way of easily documenting your API is to install the Swashbuckle package. Install-Package Swashbuckle.AspNetCore Install-Package Swashbuckle.AspNetCore.Swagger Then in you startup.cs add the following lines...