Logging with log4net and Windsor Castle in c#

Quite a while ago I had a good talk with an colleague about “to log or not to log – that is the question”. ūüėČ That was a longer discussion, and a lot of¬†questions had been raised: Shall we do logging? What shall be logged out? Should we create a …




How to do sensible logging in c#

In last post¬†about Are Extensions the beauty or the beast?¬†I added a screenshot that showed a class implementing the repository pattern. This actually also showed the implementation of our log strategy. I did get some questions why we do it like this and what are the benefits.¬†Let’s have a look …




Coding principles: These assembly/ folder structures… suck.

We need to move people from time to ¬†time between products. It can be tough when you move from SSIS/ Sql/ SAP stuff to job-based Excel¬†automation.¬†How can we make a hard task easy? The very first things that developer see are the assemblies and the folder structures. Let me first …




Coding principles: The difference between defensive and offensive programming

I put together a list of strategies, rules and best practices for our team. This is not any unusual stuff, but (IMHO) a sensible and smart set of rules to follow to be able to write extensible, maintainable, understandable, testable, robust,… *TooManyAdjectivesException*¬†…code. To follow the evolution of methodic and¬†what are …