August 25th, 2015

Dependency injection with Autofac and Azure WebJobs

Shows how you can use Autofac to resolved WebJob instances and inject dependencies into your web jobs

Read this post
August 18th, 2015

Resolve dependencies differently depending on whether user is logged in

I demonstrate how you can use Autofac to resolve dependencies differently based on whether the user is authenticated or not.

Read this post
August 11th, 2015

Unit Testing with NBuilder and NSubstitute using either a FakeDBSet or a mock DbSet

I extend the example from the previous blog post to demonstrate how you can unit test by mocking DbSet instead of using a fake DbSet.

Read this post
August 4th, 2015

Unit Testing with FakeDBSet and NBuilder

I show how I unit test queries against my DbContext using a Fake DBSet and NBuilder.

Read this post
August 3rd, 2015

Please update RSS feed subscription to this blog

I am moving my blog to Jekyll soon. Please update RSS feeds

Read this post