Steve Fenton

Programming

You can subscribe to the Programming category micro-feed.

The wrong image seems to be selected from a picture element

This post started as a scratch pad as I was looking at helping a colleague implement WEBP images with a JPG fallback for older browsers. They had an issue in modern browsers because the fallback image was being loaded in all cases. Here’s a code example and demo: <picture> <source height=”500″ width=”500″ src=”webp.webp” type=”image/webp”> <source […]

Introducing an async pipeline in C#

Pipelines are an interesting way to implement your code to prevent complex inter-relationships between components. Having used pipelines on some simple synchronous code, I wanted to see what happens when you try it with async code. Using a real app is a useful way to explore this, but I warn you now; there are some […]

Most frameworks solve easy problems

As part of my ongoing punk software thought process, I found myself thinking about frameworks. The conclusion of these thoughts was, I suppose, inevitable if you work backwords. What I realised was that most frameworks solve easy problems. When you think about frameworks in this way, it becomes clear that though it may take some […]