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
-
Conditional totals for groups of rows, based on the value of a given column, in SQL Server Reporting Services
SQL Server Reporting Services seems like a bit of a dark art at times (trying to look at the markup behind an RDL file definitely is!), for 90% of report based requirements it can be used to quickly …
-
Using Azure Traffic Manager to divert to a holding page for a site that's not available
In the first post in this series I put together a holding page that uses Azure Storage to write "call me back" details to Table Storage (so it doesn't rely on anything other than Azure), in the …
-
Using Azure App Services to host a holding page for a site that's not available
In the first post of this series I put together a .NET Core application that uses Azure Storage (in table form) to keep records of "call me back" requests from customers, so that when the main site …
-
Using Azure to provide a holding page for a site that's not available
One of the fantastic things about Azure is how quickly you can spin up, and down, services as and when you need them. In a world where not everything's been migrated to the cloud yet this can be …
-
Running an ASP.NET project yellow screens with "Could not find a part of the path 'D:\Path\To\Project\bin\roslyn\csc.exe'"
I recently had to pull a project onto a different PC and for some reason even after running a NuGet package restore and building the solution, running the project failed with an error as the roslyn …
-
C# 7.1 - Async Main has been around a while now
C# 7.1 has been out in the wild for quite a while (since August 2017 according to Wikipedia!) yet I still see a lot of people on Stackoverflow asking questions where they're hitting the .Result …
-
Using C#7 Local Functions
After I wrote a post recently that covered the Tuple C# 7.0 language feature it got me thinking about all the other language enhancements that have been added in C# 7.0 and its three subsequent …
-
Using the C#7 Tuple language feature to eliminate an anonymous type
It might be a bit "old news" now, given that C# 7.0 was released in March 2017 (according to Wikipedia, so it must be true!) but after I answered a question on Stackoverflow earlier today I was …
-
Adding a custom '.AddThisOrThat()' method to configure ASP.NET Core Identity in one
In my recent series of posts about ASP.NET Core Identity I made several customisations to Identity that are bespoke to the application I'm building. This does mean that the code for configuring …
-
Double translating using the AngularJS angular-translate library
For those of us who're still working with applications using AngularJS 1.x (it's still in long-term support for nearly 2 years so plenty of time to plan a migration!), localising strings in the …