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:

Dealing with CORS

Cross Origin Resource Sharing (CORS) is a security measure enforced by web browsers which affects calls made from a web browser session to a remote resource like an API on another web domain. The key to understanding CORS is to understand that it is the browser which is blocking, but...

Azure Service Bus Topics in .Net Framework 4

I’ve done queue processing wrong a few times in my career. I can admit to that. I’ve made a lot of use of Azure Storage Queues because they’re extremely cheap (you pay for the storage only, which is about 7p/GB/month at globe-scale) and very easy to integrate. Thing is, sometimes...

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...