Bad Image Exception on Azure Service Fabric Unit Tests

I just experienced this System.BadImageFormatException. Could not load file or assembly ‘System.Fabric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. An attempt was made to load a program with an incorrect format. The unit test shall test a Azure Service Bus connection. Yes, sure it is a unit test and the …




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 …