Kenneth Truyers
user

Kenneth Truyers

.NET developer at Appyparking, Pluralsight Author and Microsoft MVP


Tagdependency injection
Featured

.NET AOP best practices dependency injection patterns simplicity

Simplify code by using composition

Posted on .

In my post about software simplicity I talked about how we introduce complexity in software without realizing it. In this post I want to discuss a pattern that allows you to get rid of the complexity introduced by using annotations or aspect oriented concepts.…

Featured

best practices dependency injection development patterns simplicity

Simplicity in software: what you see is not what you get

Posted on .

As software developers we put a lot of focus on simplicity. And rightly so, because making code readable and understandable keeps it from becoming a maintenance nightmare. Simplicity is often confused though with how many lines of code there are. When you use…

Featured

AOP best practices dependency injection patterns unit testing

A brief comparison of fundamental AOP techniques

Posted on .

In my previous post “Why choose DI Interception over Aspect Oriented Programming?” I explained my preference for DI interception over AOP. I received a lot of comments on this (especially on reddit) which pointed out some errors. In this article I want to reit…

Featured

.NET best practices dependency injection development

Why choose DI interception over aspect oriented programming?

Posted on .

Note: I have posted a follow-up post with some corrections to this post, thanks to some comments made on Reddit: A brief comparison of AOP techniques Let me start with saying that in this post I will explain why I think Dependency Injection is a better way to…

Featured

best practices c# dependency injection development unit testing

The N-layer myth and basic Dependency Injection

Posted on .

Dividing an application in N layers is considered a standard and a best practice. It is often thought that this automatically creates a decoupled application. However, just creating layers doesn’t make your code loosely coupled. A typical N-layer application L…