21 February 2017 Dependency Injection C# AutoFac

What is dependency injection?

Dependency injection is a design pattern that allows us to develop loosely coupled code. It has many advantages such allowing unit testing to be easier, decoupling your class libraries, allowing much easier code reuse and allowing us to write less code.

08 February 2017 Design Patterns C# Rants

Generic Repositories: The good, the bad and the ugly

The generic repository is a pattern that is often used with Entity Framework as a quick way to access data. It does however come with it's own set of problems and is often a trap for some developers that think they are taking shortcuts. This can lead to some very interesting and at times ugly code.