In this post, I want to talk about how controllers and actions interact with each other and present several built-in functions. The MVC Framework is endlessly customizable and extensible. As a res...
Routing in ASP.NET MVC
Routing in ASP.NET MVC can be a really complex topic. In this post, I want to present the most used URL Patterns and explain how they work. Routing with Routes Routes can be created by adding the...
Repository and Unit of Work Pattern
The Repository pattern and Unit of Work pattern are used together most of the time. Therefore I will combine them in this post and show how to implement them both. Definition Repository The Repos...
Template Method Pattern
The Template Method pattern helps to create the skeleton of an algorithm. This skeleton provides one or many methods which can be altered by subclasses but which don’t change the algorithm’s struct...
Strategy Pattern
The Strategy pattern is one of the simpler design patterns and probably a good one to get started with design patterns. Additionally, it is also very practical and can help to clean up the code. G...
Facade Pattern
The Facade pattern is often used without the programmer knowing that he uses it. In this post, I want to give the thing a developer often does automatically a name. Goals Simplify complex code...
Chain of Responsibility Pattern
I think that the chain of responsibility pattern is pretty easy to learn. It is not used too often but it is very useful when sending messages to a receiver where the sender doesn’t care too much a...
Adapter Pattern
The adapter pattern is one of the most useful patterns in my eyes. Therefore I want to explain what the adapter is and present a simple real life example on how it can be used. The Adapter Pattern...
Visitor Pattern
Today I want to talk about the visitor pattern. It is a powerful pattern and I think it is used too little. Maybe because it looks complex but once you got how it works, it is pretty easy and power...
Whats new in C# 7.0
Recently I made a post, about the new features in C# 6.0 and in this post I will show you whats new in C# 7.0. Whats new in C# 7.0 To use all features of C# 7.0 you have to use Visual Studio 2017...