Blog

Blog, Programming

Blazor: OnInitializedAsync Null Exceptions

One of the first issues I encountered when building data-driven Blazor pages is the dreaded NullReferenceException when trying to reference a page component from within the OnInitializedAsync override. Given the following Razor page source, which follows the recommended pattern of displaying a loading indicator while any asynchronous...

Read More

Blog, Programming

Introducing Blazor

Introduction Okay, Blazor isn’t exactly brand new. First announced over three years ago, it’s been in public preview since March 2018. However, with the release of .NET Core 3.1 in December 2019, Blazor Server support in Visual Studio (16.4 and up) is improved and there is also preview support for Blazor WebAssembly. I...

Read More

Blog

Day 2 – 365 Days of Instagram

Early Start As I hinted at towards the end of yesterday’s blog, today began with a rather unwelcome alarm at 6am. I hadn’t slept particularly well, due to a sore neck from yesterday’s mountain biking in the cold. Regardless, I dragged myself up and brewed some tea while preparing my breakfast cereal. Once the caffeine...

Read More

Blog, Featured

Day 1 – 365 Days of Instagram

Hardly an original concept, I know, but for 2020 I have decided to start the ‘365 days of Instagram’ challenge. I’ll be uploading at least one photo daily to my account (link on my Gallery). Alongside this, I figured I would try to blog daily as well – in part to give some additional context …...

Read More

Blog, Reviews

• 2 Comments

Harry’s Shave Club Review

Close, but is it Close Enough? I’ve always been what you might call a casual shaver. I’m one of those men whose facial hair grows at a leisurely pace, allowing me to shave just once or twice a week without looking too unkempt. As a result, I tend to buy cheap disposable razors and find …...

Read More

Blog, Featured, Politics

Why Salary is Best Kept Secret

A recent BBC article references claims by charity Fawcett Society that women should have a right to know what their male colleagues are being paid if they suspect pay discrimination. Ignoring the blatant sexism of this idea for the moment, let’s talk about why publicised salaries are bad for both businesses and individuals…...

Read More

Blog, Politics

The Political Compass and my World View

Introduction As I grow older, I find myself taking more of an interest in politics and current affairs. We seem to be moving towards an increasingly polarised society, and I’m not just talking about Brexit! (Which I shall avoid as a topic, for now.) This is my first blog post that is more of an …...

Read More

Blog, Travel

Introducing Greece Travel Guide

Everyone loves a bit of shameless self-promotion, so it’s about time I introduced my main hobby site: www.greecetravelguide.co.uk! Over the past year or so, I’ve gradually been adding content, as well as having a logo designed and buying a custom WordPress theme. For now, it’s mostly a diary of my (many) trips to Greece...

Read More
Close