Programming Stuff

Blog

Adroid App – HAX kernel module is not installed!

I am starting to learn how to develop a android application and after I installed Android Studio and try to run my first app on an emulator, I found myself facing this first problem: CPU acceleration status: HAX kernel module […]

Use Fake Objects As Mock or Stub (TDD)

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

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

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 […]

Configuring Log4Net

I have a multilayered application and I want to keep my logger in the Data Layer… Here the doc about DB structure and config file: http://logging.apache.org/log4net/release/config-examples.html While I was implementing it, I found 3 major issues: 1. Buffer/Flush May you […]