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

Recent blog posts:

My project depends on two different EntityFramework data layers with different versions of Entity Framework

My project depends on two different EntityFramework data layers with different versions of Entity Framework …Get me out of here! So how can we make a .Net solution work with more than one version of Entity Framework in the mix? It’s a horrible problem; here are my comprehensive field notes....

What no-one tells you about getting started with BenchmarkDotNet

What no-one tells you about getting started with BenchmarkDotNet BenchmarkDotNet is a package for benchmarking (timing) .Net routines. It does correctly what you would do wrong if you were trying to time code yourself using System.Diagnostics.Stopwatch and gaffer tape. Like, it does timed rounds of volume testing, warmups, and JIT...

How to use Moq

How to use Moq This is more of a ‘Note to Self’ article… something else I forget a lot… :) First, install the Moq Nuget package. Example which always returns the same value Let’s use the Mock class. You can only mock an interface, never a concrete type. // Get...