Programming

Using .NET Core Identity Without the Standard Pages

Posted on

This is a quick article about using .NET Core Identity without the standard pages. It was almost titled “why does .NET Core Identity ignore my LoginPath that I set in options?”. Let’s start with a common chunk of code that you’ll find in your Startup.cs file if you’ve added identity to your project… services.AddIdentity<ApplicationUser, ApplicationRole>() […]

Pie Charts

Unpeeling Pie Charts

Posted on

For those of you still keen on using pie charts, let’s embrace those big blobs of colour and do something cool with them. We’re going to unpeel a bunch of them. So, what’s the use of unpeeling pie charts – and how do we do it? Before Unpeeling Before you unpeel a pie chart, you […]

Opinion

Symmetrical Professional Behaviour

Posted on

I started to write this from a leadership perspective, but soon realised that this is a general principle that applies at all levels within an organisation. It’s a principle I’m going to call symmetrical professional behaviour. It works like this… whatever formal or informal contracts you use to interact with other people, it needs to […]

Analytics

Debugging Adobe Analytics

Posted on

Adobe Analytics can sometimes be a bit of an enigma, so people often turn to browser extensions to help them with debugging Adobe Analytics. However, for those of us who spend most of our lives in browser tools; there’s a simple way to get x-ray vision into what Analytics is thinking. Let’s get straight down […]

Programming

Simplify Strings for Comparison by Removing Special Characters and Diacritic Marks

Posted on

I was working on a search system that needed to simplify the strings for comparison. It needed to compare the text regardless of special characters (diacritic marks) or casing. The following function breaks the special characters into their component parts, before removing the “special” parts and lower-casing the whole thing. function normalise(term) { // Simplifies […]