programming

Convert JavaScript Number to Number Array

· Reading time: ~1 minute(s) (89 words) programming javascript

I had a number which I wanted converting into an array where each digit of the number was an item in the array. I tried a few different ways of doing this but always ended up with a string array which wasn't what I wanted. (Continue reading)

The imported project ".../Microsoft.WebApplication.targets" was not found

· Reading time: ~2 minute(s) (253 words) programming visualstudio

We have an existing web application project at work which was failing to open in Visual Studio 2019 with the following error... (Continue reading)

Hosting Umbraco 7 on AWS Elastic Beanstalk

· Reading time: ~7 minute(s) (1419 words) programming umbraco aws

Previously at work, our marketing websites were all designed up front, with copy provided by our colleagues in Marketing and then the pages were generated by the development teams... (Continue reading)

No executable found matching command "dotnet-lambda"

· Reading time: ~1 minute(s) (93 words) programming dotnetcore aws lambda

When packaging up a dotnetcore lambda function for deployment to AWS, you could get the following error 'No executable found matching command "dotnet-lambda"' (Continue reading)

Umbraco 7: Create a custom Property Editor

· Reading time: ~4 minute(s) (805 words) programming umbraco umbraco7 csharp

Recently, I've been working on creating an implementation of Umbraco CMS for the Marketing team at work to use for quickly creating content for promotions etc... (Continue reading)

React.js Unit Testing with Jest and Enzyme

· Reading time: ~3 minute(s) (524 words) programming javascript reactjs testing

I've written loads of unit tests in my lifetime for C# and JavaScript, but never gotten around to writing any for testing the actual React components because there's always been something more pressing. Time to put that right and take the plunge. (Continue reading)

Map() support in JavaScript ES6/ES2015

· Reading time: ~2 minute(s) (329 words) programming javascript

ECMAScript 6/2015 has brought a lot of new things to the world of JavaScript, and Map() is one of them. However, not all browsers are too keen on particular ways of using it... (Continue reading)

Rendering an array of data as a clickable list using React.js

· Reading time: ~2 minute(s) (348 words) programming javascript reactjs

React.js is great for quickly rendering arrays of data in a tabular format, and there's loads of grid-like packages out there in npm, but sometimes you just need to hand-crank something yourself. Which is fine, until you want the row to be clickable... (Continue reading)