Category Archives: Code

Mvc Basics Part 3

it is time to learn a bit more so let’s see how we can build a form, add some validation and post back the user input. If you need to revisit the concepts we covered already, here they are : … Continue reading

Posted in Code | Tagged , , | Leave a comment

Mvc Basics Part 2

Welcome to the part 2 of this tutorial. if you need to read the first part, you can find it here : Mvc Basics Part 1 In Part 2  we will look at Models / Routes in order to get … Continue reading

Posted in Code | Tagged , , | Leave a comment

Mvc Basics Part 1

The purpose of this article is to explain the basics of MVC. Hopefully it will help start with this pattern, in Dot Net, should you never used it before. What is MVC ? Mvc comes from Model View Controller. This … Continue reading

Posted in Code | Tagged , , | Leave a comment

Dependency Injection

Why is it useful and how we can implement it ? By applying DI ( Dependency injection )  we avoid creating a hard-coded dependency in our classes. For example, let’s consider the situation where we implement a simple logging system … Continue reading

Posted in Code | Tagged , , | 4 Comments