Kevin Rich

Unit Testing: Activate Easy Mode

The Four Horsemen: AutoMock, AutoFixture, Shouldly, and xUnit

Introduction

Yesterday, after presenting to the Willamette Valley Software Engineering meetup about Dependency Injection, an engineer by the name of Josh and I got to talking. After making an offhand comment about a testing framework combination I'd used, he got really excited. I figured I'd use this as an excuse to do a . . .

Read More

March 08, 2019

Entity Framework SQL Debugging

Using Lambdas to Log Generated SQL

Scenario

My boss is a SQL guy, a DBO by trade. Every now and again, he wan't to know what SQL my application is running against the database.

I am not a SQL guy. I've been using EntityFramework and lambdas from nearly the beginning of my .NET adventures. I can read and write SQL...

But why?

Solution

. . .

Read More

February 10, 2017

Autofac registering a dependency for non-existent library

A case in which the problem wasn't in the code

Problem

Last week, our team ran into an issue which was, individually, leaving us scratching our heads. In the end, the entire process boiled down to one hidden checkbox.

We were receiving the following exception:

None of the constructors found with . . .

Read More

February 14, 2016

Archive

Cover image credit: http://whoiskevinrich.com

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!