blog
My blog of techy stuff, ranging around SQL (SQL Server, that is), C# and .net, JavaScript and a smattering of stuff about the Orchard CMS (that powers my site) as I get more familiar with it. There's the occasional non-technical post when something is of interest to me that I feel is worth sharing, but they should be few and far between
-
Converting a load of files from UTF-16 to UTF-8
There's a database here that I've been meaning to get into source control for a long time. Luckily we have regular backups of it (that have been restore proven) and it never changes so it's been …
-
Changing a Git branch that's tracking a remote
Having done some work against a local branch that's associated with a remote for a certain piece of work I've decided I want to keep the work (it's given me some proof-of-concept ideas) but start …
-
The anatomy of a FIX message
In my current role I've spend some time working with the FIX protocol, which is:
an electronic communications protocol initiated in 1992 for international real-time exchange of information related …
-
Using PowerShell to start and stop Hyper-V virtual machines
I've been doing a bit of VM Host upgrading recently and being able to mainpulate VMs on said hosts via the command line makes things go a lot quicker! Here's two PowerShell commands I've executed …
-
How to force Windows 10 / Server 201x to scan for updates
One of the irritations of Windows 10 and its accompanying server editions is that there's no user interface surfaced to re-scan for available updates. The ability to do this comes in handy if, say, …
-
Don't slash your globs the wrong way!
I inherited a couple of AngularJS applications that are built using gulp scripts when I started in my current role. Putting to one side the swathes of repeated code both within the build scripts …
-
Refreshing the Windows icon cache
I just updated to the latest and greatest version of Visual Studio Code, but alas my taskbar was still showing the old icon:
From this GitHub comment, here's a quick way to force the shell to …
-
Resolving: Cannot find command 'dotnet ef' and then dotnet-ef.dll isn't in the right folder?
So in my post yesterday I noted that dotnet ef wasn't present anymore and following the instructions to install it gave me a broken installation of dotnet ef.
The hack I used of copying files …
-
Cannot find command 'dotnet ef' and then dotnet-ef.dll isn't in the right folder?
There I am, on a Saturday morning trying to create an Entity Framework Core structure for an existing database, and apparently there's no dotnet ef available to me.
After running dotnet tool …
-
How to fix NUnit tests that aren't showing in Visual Studio Test Explorer
Every now and then a project I'm working on decides it's either going to not show some or (more annoyingly!) all of the NUnit unit tests that are present.
The most recent project I've seen this …