Kenneth Truyers
user

Kenneth Truyers

.NET developer at Appyparking, Pluralsight Author and Microsoft MVP


Tag.NET
Featured

.NET asp.net c# patterns

Vertical slices in ASP.NET MVC

Posted on .

Why? In ASP.NET MVC, applications are divided into horizontal layers, which is reflected in the project structure: Controllers Views Models Scripts Style It’s a good idea to divide you application into logical parts. While the idea of horizontal slices might l…

Featured

.NET REST unit testing

Testing REST clients

Posted on .

With the proliferation of REST API’s, external ones and internal ones (think microservices), we very often find ourselves depending on these external services in our applications. Usually we have some designated class in front of the access to such a REST API…

Featured

.NET c#

New features in C# 7, part 2

Posted on .

In my previous post about probable new features in C# 7, I talked about Tuples, Record Types and Pattern Matching. These are the most obvious candidates for inclusion. In this post I want to highlight a few more new features that are not getting as much attent…

Featured

.NET c#

C# 7: New Features

Posted on .

It seems like only yesterday we got C# 6, but as it goes in software development land, the next thing is already on its way. In this post I want to describe the most likely new C# 7 features, what they look like and why they’re useful. C# 7 Tuples Update 22/0…

Featured

.NET Acceptance Testing c# Continuous Delivery development unit testing

The test pyramid

Posted on .

The test pyramid is a concept that was developed by Mike Cohn. It states that you should have an appropriate amount of each type of test. In the pyramid he distinguishes different types of tests: Exploratory tests: Performed manually by a tester System tests:…

Featured

.NET best practices patterns simplicity

How to ditch your ORM

Posted on .

In my previous post on how to simplify code by using composition I talked about how we can reduce complexity by removing an AOP-framework (or annotations-based programming). In this post I want to continue on the same line and talk about how we can reduce comp…

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

.NET Acceptance Testing best practices unit testing

Automated acceptance testing with Cucumber for .NET and JAVA

Posted on .

One of the biggest problems in software development is communication. Although we have a lot of technology at hand, the more complex a project is, the harder it is to communicate efficiently. In order to improve the interaction between clients, project manager…

Featured

.NET best practices development unit testing

Flexible and expressive unit tests with the builder pattern

Posted on .

Unit tests become more valuable if they are expressive and flexible. A good unit test should not only test your code, but also document it. Creating expressive and flexible unit tests is not always easy however. The reason of this is that there’s an inherit di…

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

.NET jQuery

First post

Posted on .

Hello all, This is my very first post on my brand new website. After a long time I finally decided to open up my personal website. With this website I want to show the projects I’m working on to the world and let everybody know what services I can provide. Apa…