Programmatically refreshing a browser tab from a Golang application

October 30, 2016 · golang websocket livereload

Introduction At work I've been working on a client-side Golang application (a command-line tool), which is used as part of the development toolchain we're using at the company. This application is used from the command line to upload packages to »

Setting up a Travis-CI pipeline for Golang

October 15, 2016 · golang travis

In the previous post we looked at how we can set up a pipeline in AppVeyor for building and releasing a Golang application. Recently I made some changes to the project I'm working on, which prevents the it to be »

Setting up an AppVeyor pipeline for Golang

July 16, 2016 · golang appveyor

Recently at my day job I have been working on a Golang-based application, for which I wanted to set up an automated CD pipeline for building and releasing. Our application is a command line tool, so the release part is »

Download artifacts from a latest GitHub release with bash and PowerShell

July 9, 2016 · github bash powershell

Releases is an important feature of GitHub, with which we can publish packaged versions of our project. The source code of our repository is packaged with every release, and we also have the possibility to upload some artifacts alongside, for »

NDC Oslo 2016 recap

July 2, 2016 · ndc conference

In the beginning of June I was lucky enough to be able to travel to the NDC conference in Oslo. (Hats off to my employer Travix for providing the budget!) The NDC has always been one of my favourite conferences »

Matching route templates manually in ASP.NET Core

June 18, 2016 · asp.net mvc

We can use routing in ASP.NET to define paths on which we want to respond to HTTP requests. In ASP.NET Core we have two common ways to specify routing in our application. We can use the Route attribute »

Stubbing service dependencies in .NET using Stubbery

June 12, 2016 · .net .net-core asp.net asp.net-core testing integration-testing

Introduction When writing integration tests for a service (especially if we are running a long, end-to-end test), it often causes a problem that the external dependencies of our service fail. Let's say we have a service handling customer payments and »

How to fix the empty SpecFlow HTML report problem with vstest.console.exe

April 23, 2016 · specflow

Introduction There are multiple ways to run an MsTest test suite from the command line. The older, now deprecated tool is mstest.exe. It executes the test suite and produces an output in an XML-based format called TRX. Other tools, »

Migrating a Ghost blog from SQLite to Postgre on OpenShift

April 10, 2016 · ghost postgre sqlite openshift

When I started this blog, I wanted to use the Ghost blogging platform. I was looking for a free solution for hosting it, and I didn't mind a little tinkering in order to get it running. At the time, the »

How to validate action parameters with DataAnnotation attributes?

February 28, 2016 · asp.net c# .net-core asp.net-core

Model validation in MVC In both MVC and Web Api we can use the attributes provided in the System.ComponentModel.DataAnnotations namespace to specify validation rules for our models. Let's say we have a controller action with the following signature, »