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
-
The curious case of IIS that wouldn't serve content from a drive other than C:
In this case, it was with a Windows Server 2012 installation on a VMWare guest. The setup was quite unexciting:
Freshly installed Windows Server 2012 box
IIS installed
A second site configured …
-
How to debug gulp tasks in Visual Studio Code - Gulp 4
I recently read an article about debugging gulp tasks in Visual Studio Code, which seemed like mana from heaven for me as I'm now working with nant, npm, gulp scripts, AngularJS and all the …
-
Creating an X509Certificate2 under IIS throws 'The system cannot find the file specified'
This exception had me scratching my head for a good 30 minutes until the power of Bing (yes, Bing!) gave me the answer:
System.Security.Cryptography.CryptographicException: The system cannot find …
-
The content of table variables is retained even when a transaction is rolled back
You learn something new every day! Thanks to the superbly detailed answer by Martin Smith on the question What's the difference between a temp table and table variable in SQL Server? at Database …
-
Gulp, Node.js and "require.extensions.hasOwnProperty is not a function"
I've been working through getting an older version of an AngularJS project to run locally and encountered the following error:
D:\Git\MyApp>gulp dev
D:\Git\MyApp\node_modules\require-dir\index.js:93 …
-
AngularJS, HTML 5 Mode, IIS (Express) and hitting F5/Refresh - Setting up URL Rewrite via the IIS Manager UI
In my previous post, I covered the configuration changes that you need to make in your web.config file to get IIS to route requests for URIs that should be handled by your AngularJS application back …
-
AngularJS, HTML 5 Mode, IIS (Express) and hitting F5/Refresh
The company I joined in November (more about this another day!) has a product that was developed in AngularJS 1.x. Not Angular, AngularJS - one of these things is not like the other! This means …
-
Creating a branch from a revision with Git
A very short "memo to self" post to note down how to create a branch using the git command line, from a specific revision:
git checkout -b MyBranchName 22322e768c9956bb93a3701504250124c4d5bf53
This …
-
A couple of links on recruitment
I've been a bit quiet over the past month due to starting a new role which has kept me thoroughly occupied with the usual "information brain-splosion". One of the things I'm going to have to do now I' …
-
Being more accessible: Highlighting images that don't have alternate text
I saw a tweet recently that showed a really cool trick you can use to highlight when images are either have missing, or empty, alternate text. As Wikipedia says (so it must be true!):
The alt …