New features of ASP.NET MVC 4 that you will love

by Leon Cullens 27. februari 2012 22:52

I recently saw Scott Guthrie's presentation of ASP.NET MVC 4 on the TechDays in the Netherlands. How showed us a couple of very interesting features that are new to ASP.NET MVC 4. Here are the coolest features that you will definitely love. More...

Tags: , , , , , , , , ,

ASP.NET MVC

An introduction to unit testing: Conclusion & comments

by Leon Cullens 22. februari 2012 21:52

Now that we've come to an end you hopefully have a good understanding of how to make your software testable, how to write unit tests, what the best practices are and what TDD is. Unit testing proves itself as a very valuable technique to constantly validate if your software is still working (regression testing) and it enables you to automate a large part of your testing process. However,More...

Tags: , ,

Testing

An introduction to unit testing: Step-by-step walkthrough

by Leon Cullens 22. februari 2012 19:34

Now that you probably have a good grasp on the basics of unit testing, you probably want to see some examples that put all of this knowledge together. This chapter will do just that; I built a little simple ASP.NET MVC 3 application that allows us to withdraw money from an account, deposit money on an account and transfer money to another account. I kept everything very simple, ignoring lots of best-practices to keep the unit testing as easy as possible. More...

Tags: , , ,

Testing

An introduction to unit testing: How do unit tests work?

by Leon Cullens 22. februari 2012 18:34

Now that you know what test-first means and how you can build a testable architecture, you are ready to start writing some real unit tests. This chapter will explain what kind of assertions you have, how a good unit test is set up and more. More...

Tags: , , , , , , ,

Testing

An introduction to unit testing: How to build a testable architecture?

by Leon Cullens 11. februari 2012 16:48

In order to be able to test your software without applying many dirty hacks, you have to embrace a couple of architectural patterns that allow you to isolate the pieces of code that you want to test. I will explain a few principles that are crucial if you want to build good, testable software. More...

An introduction to unit testing: What is test-first?

by Leon Cullens 6. februari 2012 23:50

There is a practice that states that one should write tests before writing the code itself. This is often referred to as test-first or test-driven development (TDD). It is a practice that has some nice benefits, that's why I decided to tell you a little bit about it in this article. Before I explain the pros and cons of TDD I will explain how it works first. More...

Tags: , , ,

Testing

An introduction to unit testing: What is unit testing?

by Leon Cullens 6. februari 2012 23:45

In this series of blog posts I will try to give the reader a good understanding of unit testing and the most important things that are associated with it. Nowadays unit testing is a very common practice that every software developer should know about. In this series of articles you will read about the purpose of unit testing, test-first (TDD), building testable software architectures and of course the unit testing itself. My samples are written in C# 4.0 using ASP.NET MVC3, Ninject, Moq and MSTest, but I will provide links and information about other frameworks as well. The principles of unit testing are pretty much all the same on other platforms, so even if you are a Java or PHP programmer you can follow this guide. More...

Tags: , , , , , , , ,

Testing

Simple explanation of the Repository pattern

by Leon Cullens 10. januari 2012 19:44

One of my favorite design patterns is the 'repository pattern'. That's why I decided to dedicate a complete blog post to it. Using the repository pattern in your application can yield a lot of benefits, such as improved testability, easier ways to implement caching and transactions, avoidance of code duplication and it allows you to replace the data source easier (although that probably won't happen too often). More...

Tags: , , , , , ,

Design patterns

about

Name: Leon Cullens
Country: The Netherlands
Job: Software Engineer / Entrepreneur
Studied: Computer Science 
Main skills: Microsoft technology (Azure, ASP.NET MVC, Windows 8, C#, SQL Server, Entity Framework), software architecture (enterprise architecture, design patterns), Marketing, growth hacking, entrepreneurship

advertisements

my apps