The problem I've been working a lot on ASP.net Core web applications recently and have really come to enjoy the built in dependency injection and configuration libraries. I was recently building a console app using .NET Core and really missed having these goodies available to me. There are .NET… Read more →
I'm working on an Angular application and had to recently re-install my node_modules. This means installing node-sass which in turn uses node-gyp (python and c++) to build some native modules. The node-gyp build kept failing as it couldn't find the MSBuild.exe in the location it expected. Turns out… Read more →
Disclaimer: This post is more for me to remember how I did this for future me to find when I Google it :). But if it helps someone else, awesome. I was recently working on a feature that required storing a small image (PNG) in a database. We're using SQL Server,… Read more →
This is part 2 of my series on Home Automation Introduction Sonoff Sonoff In my last post I mentioned that after buying a Google Home, I wanted to try to automate some aspects of my house. After disappearing down many rabbit holes, a colleague suggested that I look at a… Read more →
I recently spent some birthday money importing a Google Home Mini and I've really enjoyed using it to control my various ChromeCast (audio and video) devices around the house as well as asking the Google Assistant random things. I somehow even managed to get my normally skeptical wife to use… Read more →
This article was originally published on OfferZen. Anne Gonschorek was a huge help in making this article come together. She’s looking for more contributers to the OfferZen blog. Take a look at Source for more info. We live in a digital world where service downtime is not tolerated by… Read more →
Context We've recently been on a big drive to improve code coverage on all of our code bases. Our tech stack include Angular 1.6, Angular 6, ASP.net 4 and asp.net Core. Test coverage in the JavaScript world is pretty amazing with tools like Istanbul, but we've battled… Read more →
I've been working on a new Angular (v4) application that talks to a C# (asp.net core) backend. One of the things I love about Angular is TypeScript, and one of the things I love about TypeScript is the ability to define the models you'll send and receive. I love… Read more →
I don't think I've ever encountered a bug in the .NET framework and as such, its the last thing I would ever suspect when something is not working. That is, until now. Context A system I am working on contains a section that may only be accessed from within a… Read more →
I just finished speaking at the 2016 edition of JSinSA on the topic of edge.js. I thoroughly enjoyed it and I think the talk was well received. The talk was recorded and will be released publicly soon, I'll share the link when that happens. In the meantime, here are… Read more →
Angular 2's router has been through some serious changes lately, I think the current version is the 2nd rewrite of the original beta router. I've been using it in a medium sized project at work and I'm really liking it so far. One thing I needed was to be able… Read more →
I've been using Angular 2 recently to build a simple but not small application. Angular 2 makes heavy use of RxJS Observables, a library that I'm not yet very familiar with. When making HTTP calls, the return type is Observable (Angular 1.x returns a promise). You can easily convert… Read more →
I struggled most of yesterday trying to get Ninject setup in an ASP.NET WebAPI 2.0 environment. There are multiple Stack Overflow answers and blog posts that all say the same thing: Install Ninject in your project from Nuget Install Ninject.WebApi Install Ninject.WebApi.WebHost Then everything should… Read more →
Note: This post will probably not interest you if you're not from South Africa :p The Department of Home Affairs recently launched their online portal that enables applying for the new ID cards (replacing the old green books). In conjunction with support from the 4 major SA banks, the process… Read more →
On Tuesday 8 March 2016, the inaugural DevConf was hosted in Johannesburg. It is the first conference of its size in South Africa and I think it went really well. Me opening up @DevConfza - I think this sums it up pretty well. Thank you #DevConf pic.twitter.com/lIm3rqMR09&… Read more →
If you happen to be reading this in South Africa, then hopefully you've heard about a new developer conference called devconf. The lineup is finalized and it's shaping up to be a great conference with many great speakers. Please go have a look at the website and consider attending, the… Read more →
Note: This post is not about CI or CD. It falls into the category of "Other stuff I learnt while doing my developer day job" Hopefully you still find it interesting. Some Background At my current client, we use a node.js script to load large files into a Microsoft… Read more →
At my current client, we've been overhauling our CI process to enable us to work towards continuous deployment. Currently, a deployment only happens every few weeks which is a pain for our users (this is an internal line of business system), so we're working hard to get releases going on… Read more →
Recently, I've been struggling with performance in Git Bash on Windows. Just doing a 'git status' takes several seconds. Directory browsing was also crazy slow, just TAB completing possible filenames was taking a few seconds. After doing a bit of Googling, I found a few tips that made a huge… Read more →