Programming Stuff

Let’s Have Fun Coding

Programming is fun. We have the opportunity as software/web developer to enjoy ourself by creating digital products that help people. Some have a huge impact and other the impact is trivial. But, whatever you are doing let’s have fun.

My Blog

  • Use Fake Objects As Mock or Stub (TDD)

    27 Jun 2014

    In Test-driven development (TDD) you create your testable code faking some of the real infrastructure implementations. A fake object allow you to mimic real functions such as Send Email/SMS, CRUD operations in the database, etc. According to Roy Osherove (The Art Of Unit […]

  • Entity Framework: Pagination Behind the Scenes

    17 Jun 2014

    Data pagination is always a headache. We should customize every time we want to gain performance in a large data result. In this post, I will show you the correct way to do pagination by snicking the code generated by Entity […]

  • Onion Architecture in Action – Get Started

    3 Mar 2014

    Get Started: How to Implement Onion Architecture Successfully   In this post, I am going to create a demo implementing Onion Architecture. Here some links about this topic. Environment: IDE: Visual Studio 2010 / C# UI: ASP.NET MVC Data: Dummy List […]