One of the websites I have been working on has been displaying an error in the console. The error reads as follows. The SSL certificate used to load resources from https://example.com will be distrusted in M70. Once distrusted, users will be prevented from loading these resources. See...
A content Security Policy or CSP is a HTTP response header that defines what sources of content can be loaded on a web page. It is a way to combat Cross Site Scripting (XSS) attacks. What is a XSS attack then? When you load a webpage it also loads various other resources like images, some css style sheets, various...
Earlier this year I signed up for pluralsight. If you want to sign up to pluralsight as well use this link http://referral.pluralsight.com/mQd8BJ4 to get money off. Pluralsight is a website that sells training videos on a wide variety of technical topics. You sign up for a monthly or annual subscription and you can...
I have blogged a few times about interfaces , and how useful they are for producing good quality maintainable code. Let’s look at a problem and the solution I came up with which I am quite proud of. As previously mentioned I am in the process of moving images from AWS to Azure blob storage. Now that the actual files...
We are in the process of moving our companies websites onto the Azure platform. One of the challenges was to move image files out of the website project into blob storage. This week I have moved 150,000 of them. One thing I keep banging on about is that your source code should not contain data. If it does every time...
Last week I looked at testing the UI of mobile apps , this week lets look at how we could do a similar thing for websites. Testing the user interface is not an excuse for a lack of unit tests . Testing the user interface takes longer so for keep creating your small unit tests that can be run after ever build. That said...
Since I started creating an android app I have been writing simple UI tests. I have been taking advantage of the Visual Studio App Center which allows you to test against hundreds of different devices in the Test Cloud. In order to write a UI test create a UI Test App, this makes use of the nuget package Xamarin UI...
It is 2018 so it must be time to think about what my plans and goals are for the new year. Buy a house This a huge goal for me. For many years I was content with renting and thought owning my own home wasn’t for me, but then I went and started a family and my career started going in the right direction and my thoughts...
As 2017 starts to draw to a close let’s look at some of the highlights from the past year. Edward In November I became a father again and celebrated the arrival of Edward into the world. Before the birth I was worried how well my first son James would adapt to the new arrival but I am happy to say I didn’t need to,...
Azure Table storage is cheap way to store data, however it has some drawbacks that you should be aware of. Azure Table storage is a simple way to store NoSQL data with key/attribute pairs. I am very familiar with storing data in SQL databases and would still choose SQL over Table storage, however Table storage is...