Making ASP.NET MVC code more testable using a Service Layer.

Common wisdom says regarding the Repository and Unit of Work patterns in ASP.NET MVC to implement it on top of Entity Framework. This is supposed to make your code more testable and more decoupled, which is always desirable. Doing this, however, can be complicated. The general architecture of an application implementing these patterns (as seen on MSDN) is … Continue reading Making ASP.NET MVC code more testable using a Service Layer.

Advertisements

What is an ERP system and why they are important

An old professor I had once said something incredibly profound that I had never considered despite my background in IT. He said that “Computerization adds transparency” in a business. His example was that when using physical books for accounting, which is often the case for many simple shops even today, humans can introduce inconsistencies in … Continue reading What is an ERP system and why they are important

Learning Linux, information and tutorial for newbies (Part 2)

<--PART 1. This is the continuation of the Learning Linux blog post. Click the link above for Part 1. If you're coming here directly, you might want to look at that first. We continue now our discussion of learning Linux and how it's different from Windows. As I mentioned in the previous post, Linux is … Continue reading Learning Linux, information and tutorial for newbies (Part 2)

Why the Single Responsibility Principle is awesome.

The Single Responsibility Principle, which is part of the set of "S.O.L.I.D" principles laid out by Robert Martin, is a simple yet very effective strategy to make software development easier, because it reduces the chances of making huge mistakes and makes figuring out and debugging the program a lot easier. Not only that, but the … Continue reading Why the Single Responsibility Principle is awesome.