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 finishing touches to hooking into ASP.NET Core Identity user creation
In my previous posts I've setup ASP.NET Core Identity, tweaked the IDs (just because I can), extended the Identity so it stores extra data and started the process of pulling it all together by …
-
Refreshing the IntelliSense cache in Azure Data Studio
As with SQL Server Management Studio, Visual Studio and Visual Studio Code (the latter being the product Azure Data Studio is based on) there's support for IntelliSense, which is why in the …
-
Extending the ASP.NET Core Identity UserManager to set the Employee Id during registration
In previous posts I looked at adding a custom property to the ASP.NET Core Identity user, along with reading and writing the property for a logged in user. The next logical step, assuming that the …
-
Reading and writing custom ASP.NET Core Identity user properties
Adding a custom property to users that're accessed via ASP.NET Core Identity is ultimately a fairly simple exercise; extend the IdentityUser type with a custom one, fix up all the places that refer …
-
Conditionally colouring text in SQL Server Reporting Services
SQL Server Reporting Services is a great tool for building reports quickly, except for the horrendously hard to maintain XML format that the report definitions get persisted in. Recently I was …
-
Extending the ASP.NET Core Identity user
In two recent posts I've been looking at ASP.NET Core Identity, first changing it up so that the data-type for the Id fields in Integer rather than a stringified GUID and then separating out the …
-
Running Redis on Ubuntu on Windows
Whilst there's a Windows port of Redis server, the last stable release that was produced was 3.0.504 in July 2016. There's plenty of options for running later versions of Redis as a Windows …
-
Edge not working for you in Windows 10 (1809)? Try Fiddler
If you've upgraded to the latest version of Windows 10 (1809) and are having problems browsing the web, try running Fiddler. Having this sat between the interweb and Edge seemed to kick it straight …
-
Using the #if pre-processor directive to do different things for x64 builds
I'd just about finished writing an answer for a question on Stack Overflow when the poster deleted it, so I thought I'd drop the answer here instead.
The question asked was essentially:
How can I …
-
Charging a completely flat Surface Pro 3
A very short one - if you've got a Surface Pro 3 (and this may well apply to other Surfaces) and the battery is totally flat, charging it from a Surface Dock may not work.
If you see the light on …