Ste Griffiths

Living the way of Jesus, writing code, and loving my community.

Hi, I’m SteGriff! I’m married to Helen, I write code for Paymentshield (and my own enjoyment), and I’m trying to take after Jesus Christ (but still working on it).

Life is always changing, so you can find my latest status on my /now page.

I write fairly technical notes on my blog, and more longform on

Recent blog posts:

ASP.Net custom attributes share a DbContext and cause thread hell

Or, “How come I get errors about ‘A second operation’ starting but I’m using await right with no lazy loading?!” ASP.Net WebAPI attributes are cached by the framework, making them singletons. It’s very popular in .Net world to create a custom attribute for authentication. In our case, the auth attribute...

Setting up IIS for the first time

Windows has a built-in webserver called Internet Information Services (IIS). It’s often switched off by default, but it’s easy to switch it on and use it to host a local website! Getting IIS Press the Start button or key Start typing ‘Windows features’ Click ‘Turn Windows features on or off’...

Array Methods in LINQ, JS, and PHP

Array methods and lambdas! JavaScript has had them since ECMAScript 2015. DotNet has them in the form of LINQ, and PHP has had some variety since PHP 4.0.5(!) I know them by their LINQ names and forget what they’re called elsewhere. This is my little memory extension. LINQ JavaScript PHP...