Software Engineering categories

Code Demoing with Visual Studio

I often find myself in a meeting or presentation, Visual Studio open, showing some code. What is the question I can almost guarantee that someone will ask? Can you please make the code bigger. Now I have a trick that I find really useful that saves a lot of hassle and works really well. It comes in the form of a Visual …

Code Camp Christchurch - An Introduction to git

I presented today at Code Camp Christchurch on git. I will try and translate some of the topics into new tutorial posts over the coming weeks, but you can find a rough transcript of the content from my presentation in my post git is not scary. I refered to some links in my talk, and wanted to make them available here. …

Git is not scary

It may not be simple, it may not be easy, but git is not scary. Now, I’ve been using git for less than a year now, professionally. I had dabbled in git personal projects for the year before that. My primary Source control had mostly been TFS (Team Foundation Server), and I had been exposed to subversion on a …

Ports and Adapters

It feels like everywhere I turn (in my circles anyway), people are talking about Ports and Adapters, and I thought I would jump on the bandwagon. You may have also heard this architecture called Onion Architecture, or Hexagonal Architecture. All of these are essentially the same idea, under a different name. Brief …

SOLID-ifying your Nuget Packaging

The other day we were talking about problems we (as a room of developers) had been having with NuGet, inter-package dependencies, and were quick to relate them back to DLL Hell. But I had this slight epiphany from another comment, where it was observed that our X.Common package had ‘helper code’ for …

git lol

I saw Scott Chacon use git lol on an introduction to git video, and thought it looked like a neat alias idea. I did some searching and came across this blog post by Franz Bettag, in which he creates an alias for git log called git lol. I’m not sure if he came up with it, but it looks like Scott Chacon is the …

Aliasing your 'git status'

Anyone else have the bad habit of typing in git statsu or git stauts? Or maybe you just end up typing git status all the time at the command line, and wonder if there was a better way. Well, there is. Aliases Most command-line shells have the concept of aliasing. This means you type one thing, and it represents an …

TeamCity, GitHub and Pull Requests

I’ve been having fun setting up TeamCity builds, specifically trying to run a static analysis build that shows it’s results on a pull request. This lead me to discover some issues with the built-in TeamCity support. It is really easy to set up a build task that runs PowerShell as its build step. With this I …

Console2 Console arrow keys acting wrong - The fix

The Introduction I’m having fun using all my console windows inside tabs in one application using Console2 (hooray for easily finding a Hanselman blog post on my specific topic for you to read all about it) and it has been going well. The Issue However, the other day, my whole console window started sliding …

Introducing PublishCoverity

As part of my open source development tooling investigation, I came across Coverity Scan Static Analysis. And thanks to Arkfps' post I could automate the process of submitting the results. And now Appveyor includes Coverity on it’s images. But I decided to take his work one step further, and so I built a small …

.Net Open Source Series - 7. Lifecycle Management

This is a series on my findings around building open source software online for free. There are many SAAS (Software As A Service) platforms out there and a lot of these are free to use with your open source projects. But not all of these work with C# and .Net. So this series highlights the tools and products out there …

.Net Open Source Series - 6. Metrics

This is a series on my findings around building open source software online for free. There are many SAAS (Software As A Service) platforms out there and a lot of these are free to use with your open source projects. But not all of these work with C# and .Net. So this series highlights the tools and products out there …

.Net Open Source Series - 5. Documentation

This is a series on my findings around building open source software online for free. There are many SAAS (Software As A Service) platforms out there and a lot of these are free to use with your open source projects. But not all of these work with C# and .Net. So this series highlights the tools and products out there …

.Net Open Source Series - 4. Publish & Deploy

This is a series on my findings around building open source software online for free. There are many SAAS (Software As A Service) platforms out there and a lot of these are free to use with your open source projects. But not all of these work with C# and .Net. So this series highlights the tools and products out there …

.Net Open Source Series - 3. Test

This is a series on my findings around building open source software online for free. There are many SAAS (Software As A Service) platforms out there and a lot of these are free to use with your open source projects. But not all of these work with C# and .Net. So this series highlights the tools and products out there …

.Net Open Source Series - 2. Build

This is a series on my findings around building open source software online for free. There are many SAAS (Software As A Service) platforms out there and a lot of these are free to use with your open source projects. But not all of these work with C# and .Net. So this series highlights the tools and products out there …

.Net Open Source Series - 1. Source Control

This is a series on my findings around building open source software online for free. There are many SAAS (Software As A Service) platforms out there and a lot of these are free to use with your open source projects. But not all of these work with C# and .Net. So this series highlights the tools and products out there …

Introducing BCLExtensions

It has been a pipe-dream of mine for a while to have my very own C# extensions library. Well now I do. I’ve been chipping away at a library on github for ages (my init commit was 15 Sep 2012!) and it is finally a real thing! I’ve got a V1.0.0, a Nuget package, and even 100% coverage. I even have the …

monocov + Travis-CI = WINNING

After much frustration, I now have monocov running on my Travis-CI build, and I’m going to share with you how I did it. TL;DR The coverage results don’t seem accurate just yet, but jump to the end to see the full script to get it going on your build. As I mentioned in a previous post, I am building a …

Visual Studio PowerShell

I’ve been using psake as my build tool and running my builds on Appveyor. Now Appveyor runs with all the visual studio commands available on the path. When you install visual studio, It gives you a special cmd shell shortcut that loads you an environment with all the visual studio stuff available, which is cool. …