29 Aug

Convention Tests

AKA: Protecting “future me” I needed a way to ensure that I didn’t stupidly include internal data types in WebAPI methods Installation Install-Package TestStack.ConventionTests Example Usepublic class ApiControllersShould {public void UseDtoParameterTypes() { // Define some data var methods = Methods.InAssemblyOf("Api Controller Methods", t => t.Where(p...
29 May

Visual Studio Code Behind a Proxy

If you’re having trouble running Visual Studio Code behind a corporate proxy, the following steps might help. Basically on a mac you just need to set two variables. This is what will happen if you’ve got proxy problems: osx:vscode shaw.innes$ dnu restore Restoring packages for /Users/shaw.innes/Desktop/vscode/AkkaAkka/project.json GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Console'. Warning:...
10 Dec

Building Supportable Systems (Deployment)

One of the biggest time-killers in software development is deployments (and environment management). I’ve worked on some big projects recently where people are spending many hours each week creating, maintaining and deploying software packages. These hours could be better spent fixing bugs, or adding value to business by adding...