Migrating onto dotnet tools 1.0.0

Since Visual Studio 2017 is out, and we have a 1.0.0 tools release for .Net Core, I'm going to try and migrate a simple project from the pre-release tooling, onto the new tooling. The biggest difference is that instead of using a project.json file, the new tooling…

Building a Windows Service with .Net Core

While we are all wanting to get onto the new hotness that is .Net Core cross platform applications, the reality is that our servers are running windows, and we use a combination of Scheduled tasks, IIS, and Windows Services to host our applications. Most .Net Core applications are console apps…

.Net Core Series - Publishing Portable Applications

This is a series on the new .Net Core bits. Getting Started What's in the box Using Multiple Projects Testing NuGet Multi-targeting Publishing Portable Applications <=(We are here) Self-contained Applications We can now take everything we have learned and start publishing our applications. Luckily, there is a command for…

Microsoft & Google, Android Wear support is missing

Ok, so I know I am in the minority as a Windows Phone user, but sometimes I just get frustrated and I wish Microsoft at least tried to achieve parity with their platforms, and not leave it to others who just won't bother. I have a really nice Acer Liquid…

How to Constructors

Constructors for services are a really handy way to pass in configuration, variation and dependencies. Here are some ways I have learned to use Constructors and some ideas on testing. What shouldn't be in a Constructor Execution. Any complex execution of code should not be in a constructor. This includes…

FiraCode, my new favorite VS Code dev font

I've been using Fira Code as my new dev font. And I'm sticking with it. FiraCode is available on GitHub, and is a based on the concept of ligatures, targeting at programming symbols. In short, ligatures are where two or more actual characters are printed as a single printable character,…

"failed to peek context header from STDIN" and how to fix

The docker guidance says you can run docker build piping the dockerfile: #On linux $ docker build - < Dockerfile and on Windows it says to do this: #PowerShell Get-Content Dockerfile | docker build - Nice. But I've been getting this error all day... > Get-Content Dockerfile | docker build - unable to…

Learnin' in the machine

"We go live in 6 hours! What's the problem?" Jerry Gainsborough had just burst into the development team's pod area and started shouting at the very tired, very forlorn looking group of developers. This project was coming to an end after a long 18 months of hard work,…