Img_0738_large

Kevin Rich

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

Lucky for me, Entity Framework provides a . . .

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 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type . . .

Read More

February 14, 2016

Archive

Cover image credit: http://whoiskevinrich.com